Submitter | phabricator |
---|---|
Date | July 8, 2020, 8:38 a.m. |
Message ID | <differential-rev-PHID-DREV-ltimnheptlthdfmilnk6-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/46661/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -3177,6 +3177,9 @@ rf = metadata.get_removal_filter(ctx, (p1, p2, m1, m2)) removed = [f for f in removed if not rf(f)] + if writechangesetcopy: + filesremoved = removed + files = changed + removed md = None if not files: @@ -3207,9 +3210,6 @@ drop, match=self.narrowmatch(), ) - - if writechangesetcopy: - filesremoved = removed else: self.ui.debug( b'reusing manifest from p1 (listed files '