Submitter | phabricator |
---|---|
Date | Oct. 1, 2021, 9:42 a.m. |
Message ID | <differential-rev-PHID-DREV-rkifut5ht43yt5gh2rmz-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49856/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/copies.py b/mercurial/copies.py --- a/mercurial/copies.py +++ b/mercurial/copies.py @@ -94,7 +94,7 @@ ds = repo.dirstate c = ds.copies().copy() for k in list(c): - if ds[k] not in b'anm' or (match and not match(k)): + if not ds.get_entry(k).tracked or (match and not match(k)): del c[k] return c