Mercurial > hg
diff mercurial/match.py @ 30200:a2804ddcf9ae
update: enable copy tracing for backwards and non-linear updates
As a followup to the issue4028 series, this fixes a variant of the issue
that can occur when updating with uncommited local changes.
The duplicated .hgsub warning is coming from wc.dirty(). We would previously
skip this call because it's only relevant when we're going to perform copy
tracing, which we didn't do before.
The change to the update summary line is because we now treat the rename as a
proper rename (which counts as a change), rather than an add+delete pair
(which counts as a change and a delete).
author | Gábor Stefanik <gabor.stefanik@nng.com> |
---|---|
date | Thu, 25 Aug 2016 22:02:26 +0200 |
parents | dab7069fc2bd |
children | 7f3593c29473 |