Submitter | phabricator |
---|---|
Date | Oct. 19, 2019, 5:13 a.m. |
Message ID | <a7a269ab7a7b1e3f3475d2f6b45557c5@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/42484/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py +++ b/hgext/largefiles/overrides.py @@ -160,11 +160,12 @@ @contextlib.contextmanager def lfstatus(repo): + oldvalue = getattr(repo, 'lfstatus', False) repo.lfstatus = True try: yield finally: - repo.lfstatus = False + repo.lfstatus = oldvalue def removelargefiles(ui, repo, isaddremove, matcher, uipathfn, dryrun, **opts):