Mercurial > public > mercurial-scm > hg
diff hgext/fix.py @ 38590:f068495a1c28
fix: add test case that shows why --whole with --base is useful
Differential Revision: https://phab.mercurial-scm.org/D3894
author | Danny Hooper <hooper@google.com> |
---|---|
date | Fri, 06 Jul 2018 12:47:02 -0700 |
parents | a3be09e277e9 |
children | 260c17eaf3f7 |
line wrap: on
line diff
--- a/hgext/fix.py Fri Jul 06 16:45:44 2018 -0700 +++ b/hgext/fix.py Fri Jul 06 12:47:02 2018 -0700 @@ -385,7 +385,9 @@ """Returns a map of the base contexts for each revision The base contexts determine which lines are considered modified when we - attempt to fix just the modified lines in a file. + attempt to fix just the modified lines in a file. It also determines which + files we attempt to fix, so it is important to compute this even when + --whole is used. """ # The --base flag overrides the usual logic, and we give every revision # exactly the set of baserevs that the user specified.