diff -r 68ade2a6b30a -r 8f551386abf0 hgext/transplant.py --- a/hgext/transplant.py Fri May 06 16:07:35 2011 +0300 +++ b/hgext/transplant.py Fri May 06 16:00:48 2011 +0300 @@ -602,11 +602,7 @@ s = revset.getset(repo, subset, x) else: s = subset - cs = set() - for r in xrange(0, len(repo)): - if repo[r].extra().get('transplant_source'): - cs.add(r) - return [r for r in s if r in cs] + return [r for r in s if repo[r].extra().get('transplant_source')] def kwtransplanted(repo, ctx, **args): """:transplanted: String. The node identifier of the transplanted