Submitter | Laurent Charignon |
---|---|
Date | March 25, 2015, 11:12 p.m. |
Message ID | <9742d0246c2039885c1b.1427325124@dev919.prn2.facebook.com> |
Download | mbox | patch |
Permalink | /patch/8272/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -186,9 +186,7 @@ # Make all of the pathnames absolute. newfiles = [repo.wjoin(nf) for nf in newfiles] - commitfunc(ui, repo, *newfiles, **opts) - - return 0 + return commitfunc(ui, repo, *newfiles, **opts) finally: # 5. finally restore backed-up files try: