changeset 22823 | 18ac67b0814c |
parent 22820 | 103dcfbb385f |
child 22901 | 722117c8e023 |
--- a/hgext/rebase.py Tue Oct 07 00:41:58 2014 -0700 +++ b/hgext/rebase.py Tue Oct 07 00:31:53 2014 -0700 @@ -276,7 +276,10 @@ '(children(ancestor(%ld, %d)) and ::(%ld))::', base, dest, base) if not rebaseset: - if base == [dest.rev()]: + # transform to list because smartsets are not comparable to + # lists. This should be improved to honor lazyness of + # smartset. + if list(base) == [dest.rev()]: if basef: ui.status(_('nothing to rebase - %s is both "base"' ' and destination\n') % dest)