Submitter | phabricator |
---|---|
Date | July 19, 2021, 2:10 p.m. |
Message ID | <differential-rev-PHID-DREV-ko545toc4vosn3pwsnut-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49484/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -1456,7 +1456,7 @@ origsrc = repo.dirstate.copied(src) or src if dst == origsrc: # copying back a copy? if repo.dirstate[dst] not in b'mn' and not dryrun: - repo.dirstate.normallookup(dst) + repo.dirstate.set_tracked(dst) else: if repo.dirstate[origsrc] == b'a' and origsrc == src: if not ui.quiet: