Submitter | Martin von Zweigbergk |
---|---|
Date | May 21, 2015, 9:32 p.m. |
Message ID | <d2aad10416bb2b08587f.1432243951@waste.org> |
Download | mbox | patch |
Permalink | /patch/9224/ |
State | Accepted |
Delegated to: | Augie Fackler |
Headers | show |
Comments
Patch
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1443,7 +1443,7 @@ status.removed.insert(0, '.hgsubstate') # make sure all explicit patterns are matched - if not force and match.files(): + if not force and (match.isexact() or match.prefix()): matched = set(status.modified + status.added + status.removed) for f in match.files():