Submitter | phabricator |
---|---|
Date | Nov. 16, 2019, 12:34 a.m. |
Message ID | <differential-rev-PHID-DREV-priuwq7sojs2ulnwlgyb-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/43289/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -2800,7 +2800,8 @@ continue if f in status.deleted: fail(f, _(b'file not found!')) - if f in vdirs: # visited directory + # Is it a directory that exists or used to exist? + if self.wvfs.isdir(f) or wctx.p1().hasdir(f): d = f + b'/' for mf in matched: if mf.startswith(d):