[PATCH 2 of 6] py3: add tests to show `hg bookmarks` and `hg branches` work on Python 3

Pulkit Goyal 7895pulkit at gmail.com
Mon Jun 26 09:24:43 EDT 2017


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1498314341 -19800
#      Sat Jun 24 19:55:41 2017 +0530
# Node ID 00e3a9580558aed2243870567b89c0a6f5ba19b3
# Parent  1120675d6f0a18ff35ebdd799a7e0b54d4fafcfc
py3: add tests to show `hg bookmarks` and `hg branches` work on Python 3

diff --git a/tests/test-py3-commands.t b/tests/test-py3-commands.t
--- a/tests/test-py3-commands.t
+++ b/tests/test-py3-commands.t
@@ -229,3 +229,11 @@
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ $PYTHON3 $HGBIN identify
   71c96e924262
+
+branches and bookmarks also works!
+
+  $ $PYTHON3 $HGBIN branches
+  default                        1:e1e9167203d4
+  $ $PYTHON3 $HGBIN bookmark book
+  $ $PYTHON3 $HGBIN bookmarks
+   * book                      0:71c96e924262


More information about the Mercurial-devel mailing list