diff hgext/transplant.py @ 8615:94ca38e63576

use ui instead of repo.ui when the former is in scope
author Martin Geisler <mg@lazybytes.net>
date Sun, 24 May 2009 22:37:20 +0200
parents 46293a0c7e9f
children 8676dd819444
line wrap: on
line diff
--- 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')