Submitter | Martin von Zweigbergk |
---|---|
Date | Oct. 10, 2014, 10:20 p.m. |
Message ID | <f310c2996fea1b8894fa.1412979645@handduk2.mtv.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/6203/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -688,8 +688,8 @@ # Commit dirty working directory if necessary new = None - m, a, r, d = repo.status()[:4] - if m or a or r or d: + s = repo.status() + if s.modified or s.added or s.removed or s.deleted: # prepare the message for the commit to comes if action in ('f', 'fold', 'r', 'roll'): message = 'fold-temp-revision %s' % currentnode