Submitter | Martin von Zweigbergk |
---|---|
Date | March 18, 2015, 8:27 p.m. |
Message ID | <1cafeb13292131a62161.1426710462@martinvonz.mtv.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/8149/ |
State | Accepted |
Commit | 5859af34c5a644b594e3e9d87e703b4b680542b6 |
Headers | show |
Comments
Patch
diff -r 1c7d90d9ea30 -r 1cafeb132921 mercurial/localrepo.py --- a/mercurial/localrepo.py Wed Mar 18 11:42:09 2015 -0700 +++ b/mercurial/localrepo.py Tue Sep 30 16:40:15 2014 -0700 @@ -1304,8 +1304,7 @@ wctx = self[None] merge = len(wctx.parents()) > 1 - if (not force and merge and match and - (match.files() or match.anypats())): + if (not force and merge and (match.files() or match.anypats())): raise util.Abort(_('cannot partially commit a merge ' '(do not specify files or patterns)'))