Submitter | phabricator |
---|---|
Date | July 19, 2021, 2:08 p.m. |
Message ID | <differential-rev-PHID-DREV-iui7xqzjhcqgbmrx3ctr-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49476/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/hgext/largefiles/lfcommands.py b/hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py +++ b/hgext/largefiles/lfcommands.py @@ -548,7 +548,12 @@ # use normallookup() to allocate an entry in largefiles # dirstate to prevent lfilesrepo.status() from reporting # missing files as removed. - lfdirstate.normallookup(lfile) + lfdirstate.update_file( + lfile, + p1_tracked=True, + wc_tracked=True, + possibly_dirty=True, + ) update[lfile] = expecthash else: # Remove lfiles for which the standin is deleted, unless the