Mercurial > hg-stable
changeset 8702:3d44f1a68353
rebase: remove unneeded status call before commit
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 01 Jun 2009 13:51:21 -0500 |
parents | 02a12835b17e |
children | 8676dd819444 |
files | hgext/rebase.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/rebase.py Mon Jun 01 13:51:21 2009 -0500 +++ b/hgext/rebase.py Mon Jun 01 13:51:21 2009 -0500 @@ -160,7 +160,6 @@ skipped = set() # Commit, record the old nodeid - m, a, r = repo.status()[:3] newrev = nullrev try: if last: @@ -175,7 +174,7 @@ extra = {'rebase_source': repo[rev].hex()} if extrafn: extrafn(repo[rev], extra) - newrev = repo.commit(m+a+r, + newrev = repo.commit(None, text=commitmsg, user=repo[rev].user(), date=repo[rev].date(),