hgext/transplant.py
changeset 10394 4612cded5176
parent 10282 08a0f04b56bd
child 10510 f77f3383c666
equal deleted inserted replaced
10393:217703f760d1 10394:4612cded5176
   550     try:
   550     try:
   551         if opts.get('continue'):
   551         if opts.get('continue'):
   552             tp.resume(repo, source, opts)
   552             tp.resume(repo, source, opts)
   553             return
   553             return
   554 
   554 
   555         tf=tp.transplantfilter(repo, source, p1)
   555         tf = tp.transplantfilter(repo, source, p1)
   556         if opts.get('prune'):
   556         if opts.get('prune'):
   557             prune = [source.lookup(r)
   557             prune = [source.lookup(r)
   558                      for r in cmdutil.revrange(source, opts.get('prune'))]
   558                      for r in cmdutil.revrange(source, opts.get('prune'))]
   559             matchfn = lambda x: tf(x) and x not in prune
   559             matchfn = lambda x: tf(x) and x not in prune
   560         else:
   560         else: