tests/test-glog.t
changeset 38273 f3033692ccef
parent 36219 f1addba385e5
child 38581 9f9ffe5f687c
--- a/tests/test-glog.t	Fri Jun 01 17:27:58 2018 +0200
+++ b/tests/test-glog.t	Sun Jun 10 11:50:09 2018 +0900
@@ -91,6 +91,7 @@
   >   revsetlang,
   >   smartset,
   > )
+  > from mercurial.utils import stringutil
   > 
   > def logrevset(repo, pats, opts):
   >     revs = logcmdutil._initialrevs(repo, opts)
@@ -112,7 +113,7 @@
   >             ui = repo.ui
   >             ui.write(b'%r\n' % (opts.get(b'rev', []),))
   >             ui.write(revsetlang.prettyformat(tree) + b'\n')
-  >             ui.write(smartset.prettyformat(revs) + b'\n')
+  >             ui.write(stringutil.prettyrepr(revs) + b'\n')
   >             revs = smartset.baseset()  # display no revisions
   >         return revs, filematcher
   >     extensions.wrapfunction(logcmdutil, 'getrevs', printrevset)