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

login
register
mail settings
Submitter Pulkit Goyal
Date June 26, 2017, 1:24 p.m.
Message ID <00e3a9580558aed22438.1498483483@workspace>
Download mbox | patch
Permalink /patch/21731/
State Accepted
Headers show

Comments

Pulkit Goyal - June 26, 2017, 1:24 p.m.
# HG changeset patch
# User Pulkit Goyal <7895pulkit@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

Patch

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