tests/test-glog-beautifygraph.t
changeset 39055 dcecf772756a
parent 38612 760cc5dc01e8
child 39058 a271466cb53a
--- a/tests/test-glog-beautifygraph.t	Fri Aug 10 00:08:06 2018 -0400
+++ b/tests/test-glog-beautifygraph.t	Fri Aug 10 00:37:24 2018 -0400
@@ -113,7 +113,7 @@
   >             else:
   >                 tree = []
   >             ui = repo.ui
-  >             ui.write(b'%r\n' % (opts.get(b'rev', []),))
+  >             ui.write(b'%s\n' % stringutil.pprint(opts.get(b'rev', [])))
   >             ui.write(revsetlang.prettyformat(tree) + b'\n')
   >             ui.write(stringutil.prettyrepr(revs) + b'\n')
   >             revs = smartset.baseset()  # display no revisions
@@ -2043,7 +2043,7 @@
     <spanset- 0:7>,
     <matchfiles patterns=[], include=['set:copied()'] exclude=[], default='relpath', rev=2147483647>>
   $ testlog -r "sort(file('set:copied()'), -rev)"
-  ["sort(file('set:copied()'), -rev)"]
+  ['sort(file(\'set:copied()\'), -rev)']
   []
   <filteredset
     <fullreposet- 0:7>,