diff -r 573734e7e6d0 -r 94ca38e63576 hgext/transplant.py --- a/hgext/transplant.py Sun May 24 16:38:29 2009 -0500 +++ b/hgext/transplant.py Sun May 24 22:37:20 2009 +0200 @@ -413,7 +413,7 @@ elif action == 'p': parent = repo.changelog.parents(node)[0] for chunk in patch.diff(repo, parent, node): - repo.ui.write(chunk) + ui.write(chunk) action = None elif action not in ('y', 'n', 'm', 'c', 'q'): ui.write('no such option\n')