localrepo: drop force check from checkcommitpatterns
It was retained to make the code movement clearer
--- a/mercurial/localrepo.py Wed Apr 06 17:52:17 2016 +0000
+++ b/mercurial/localrepo.py Wed Apr 06 18:08:38 2016 +0000
@@ -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():