diff hgext3rd/topic/__init__.py @ 5922:8bffab1e7c4f

topic: make two almost identical messages actually identical
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 17 May 2021 19:11:06 +0800
parents c1af4d9e46f4
children 16f3fb304285
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Mon May 17 19:10:22 2021 +0800
+++ b/hgext3rd/topic/__init__.py	Mon May 17 19:11:06 2021 +0800
@@ -958,8 +958,8 @@
 
             revnum = repo[node].rev()
             if len(nodetobook[node]) > 1:
-                ui.status(_(b"skipping revision '%d' as it has multiple bookmarks "
-                          b"on it\n") % revnum)
+                ui.status(_(b"skipping revision %d as it has multiple "
+                            b"bookmarks on it\n") % revnum)
                 return
             targetrevs = _findconvertbmarktopic(repo, bookmark)
             if targetrevs:
@@ -971,8 +971,8 @@
                 if revnum in skipped:
                     continue
                 if len(nodetobook[revnode]) > 1:
-                    ui.status(_(b"skipping '%d' as it has multiple bookmarks on"
-                              b" it\n") % revnum)
+                    ui.status(_(b"skipping revision %d as it has multiple "
+                                b"bookmarks on it\n") % revnum)
                     skipped.append(revnum)
                     continue
                 if bmark == b'@':