hgext/transplant.py
changeset 8615 94ca38e63576
parent 8225 46293a0c7e9f
child 8703 8676dd819444
--- 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')