changeset 20247 | a259f7b488ab |
parent 19986 | ea81f8b2364e |
child 20248 | 3bff26f67169 |
--- a/hgext/rebase.py Sun Nov 17 18:21:58 2013 -0500 +++ b/hgext/rebase.py Sat Nov 16 15:46:29 2013 -0500 @@ -221,6 +221,9 @@ if revf: rebaseset = scmutil.revrange(repo, revf) + if not rebaseset: + raise util.Abort(_('empty "rev" revision set - ' + 'nothing to rebase')) elif srcf: src = scmutil.revrange(repo, [srcf]) rebaseset = repo.revs('(%ld)::', src)