D2558: tests: add missing b prefixes and fix a %s to %d in test-revset.t

2018-03-02 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG27911e0fb50e: tests: add missing b prefixes and fix a %s to 
%d in test-revset.t (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2558?vs=6368&id=6375

REVISION DETAIL
  https://phab.mercurial-scm.org/D2558

AFFECTED FILES
  tests/test-revset.t

CHANGE DETAILS

diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -55,7 +55,7 @@
   > expr = revsetlang.formatspec(fmt, list(args))
   > if ui.verbose:
   > tree = revsetlang.parse(expr, lookup=repo.__contains__)
-  > ui.note(revsetlang.prettyformat(tree), "\n")
+  > ui.note(revsetlang.prettyformat(tree), b"\n")
   > if opts["optimize"]:
   > opttree = revsetlang.optimize(revsetlang.analyze(tree))
   > ui.note(b"* optimized:\n", revsetlang.prettyformat(opttree),
@@ -65,7 +65,7 @@
   > if ui.verbose:
   > ui.note(b"* set:\n", smartset.prettyformat(revs), b"\n")
   > for c in revs:
-  > ui.write(b"%s\n" % c)
+  > ui.write(b"%d\n" % c)
   > EOF
   $ cat <> $HGRCPATH
   > [extensions]



To: durin42, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D2558: tests: add missing b prefixes and fix a %s to %d in test-revset.t

2018-03-02 Thread durin42 (Augie Fackler)
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame just b prefixes and a %d instead of %s

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2558

AFFECTED FILES
  tests/test-revset.t

CHANGE DETAILS

diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -55,7 +55,7 @@
   > expr = revsetlang.formatspec(fmt, list(args))
   > if ui.verbose:
   > tree = revsetlang.parse(expr, lookup=repo.__contains__)
-  > ui.note(revsetlang.prettyformat(tree), "\n")
+  > ui.note(revsetlang.prettyformat(tree), b"\n")
   > if opts["optimize"]:
   > opttree = revsetlang.optimize(revsetlang.analyze(tree))
   > ui.note(b"* optimized:\n", revsetlang.prettyformat(opttree),
@@ -65,7 +65,7 @@
   > if ui.verbose:
   > ui.note(b"* set:\n", smartset.prettyformat(revs), b"\n")
   > for c in revs:
-  > ui.write(b"%s\n" % c)
+  > ui.write(b"%d\n" % c)
   > EOF
   $ cat <> $HGRCPATH
   > [extensions]



To: durin42, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel