rebase: remove useless list around repo.revs
As repo.revs already returns a list.
--- a/hgext/rebase.py Tue Sep 18 23:42:27 2012 +0200
+++ b/hgext/rebase.py Tue Sep 18 23:29:05 2012 +0200
@@ -193,8 +193,8 @@
if not rebaseset:
repo.ui.debug('base is ancestor of destination\n')
result = None
- elif not keepf and list(repo.revs('first(children(%ld) - %ld)',
- rebaseset, rebaseset)):
+ elif not keepf and repo.revs('first(children(%ld) - %ld)',
+ rebaseset, rebaseset):
raise util.Abort(
_("can't remove original changesets with"
" unrebased descendants"),