Submitter | phabricator |
---|---|
Date | July 19, 2021, 3:44 p.m. |
Message ID | <differential-rev-PHID-DREV-r7ollworfgwjxv6de6ay-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49503/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py +++ b/hgext/largefiles/lfutil.py @@ -556,7 +556,7 @@ def synclfdirstate(repo, lfdirstate, lfile, normallookup): lfstandin = standin(lfile) if lfstandin not in repo.dirstate: - lfdirstate.drop(lfile) + lfdirstate.update_file(lfile, p1_tracked=False, wc_tracked=False) else: stat = repo.dirstate._map[lfstandin] state, mtime = stat.state, stat.mtime