changeset 5444:5174daed97c2

rewind: use ui directly
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 25 May 2020 19:58:11 +0800
parents 239071adc54f
children d0b0ef0ba094
files hgext3rd/evolve/rewind.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/rewind.py	Mon May 25 19:57:34 2020 +0800
+++ b/hgext3rd/evolve/rewind.py	Mon May 25 19:58:11 2020 +0800
@@ -156,9 +156,9 @@
                 else:
                     hg.updaterepo(repo, update_target, False)
 
-    repo.ui.status(_(b'rewinded to %d changesets\n') % len(targets))
+    ui.status(_(b'rewinded to %d changesets\n') % len(targets))
     if relationships:
-        repo.ui.status(_(b'(%d changesets obsoleted)\n') % len(relationships))
+        ui.status(_(b'(%d changesets obsoleted)\n') % len(relationships))
     if update_target is not None and not opts.get('keep'):
         ui.status(_(b'working directory is now at %s\n') % repo[b'.'])