author | Idan Kamara <idankk86@gmail.com> |
Fri, 06 May 2011 16:00:48 +0300 | |
changeset 14212 | 8f551386abf0 |
parent 14210 | 68ade2a6b30a |
child 14213 | 30273f0c776b |
--- 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