Submitter | timeless@mozdev.org |
---|---|
Date | April 6, 2016, 6:24 p.m. |
Message ID | <c32a62f336f89877deb1.1459967072@waste.org> |
Download | mbox | patch |
Permalink | /patch/14396/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1479,8 +1479,7 @@ def checkcommitpatterns(self, wctx, vdirs, match, status, fail): """check for commit arguments that aren't commitable""" - force = False - if not force and (match.isexact() or match.prefix()): + if match.isexact() or match.prefix(): matched = set(status.modified + status.added + status.removed) for f in match.files():