I am familiar with SVN and TFS for source control. One issue which I usually encounter is the same file is modified for different bugs (say bugP is fixed with revision/changeset (N), bugQ is fixed with revision(N+1) and bugR is fixed in revision/changeset(N+2)
Each revision/changeset work on different part of the same file and there is no overlap.
Stakeholders decide that it is important that we include the fix for bugR in the next build but exclude bugP and bugQ fixes.
I understand that this might be a very common scenario. If all the fixes were done in the same branch/trunk, is there a easy way to pull only those revisions which fix a particular bug ?
And does other source control systems like GIT/Mercurial (Hg- is the standard way to say that, I understand) to deal with these kind of issues ?