Mercurial > hg
diff hgext/rebase.py @ 19642:14ec82594f47 stable
rebase: handle bookmarks matching revset function names (issue3950)
We handled these correctly with all rev-specifying options except,
somehow, -r/--rev.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Tue, 03 Sep 2013 15:12:35 -0400 |
parents | 12843143663d |
children | 7805cb8030e0 577f4c562d52 |
line wrap: on
line diff
--- a/hgext/rebase.py Thu Aug 01 22:37:44 2013 -0500 +++ b/hgext/rebase.py Tue Sep 03 15:12:35 2013 -0400 @@ -186,7 +186,7 @@ dest = scmutil.revsingle(repo, destf) if revf: - rebaseset = repo.revs('%lr', revf) + rebaseset = scmutil.revrange(repo, revf) elif srcf: src = scmutil.revrange(repo, [srcf]) rebaseset = repo.revs('(%ld)::', src)