[PATCH 2 of 6] histedit tests: fix check-code problems

Augie Fackler raf at durin42.com
Thu Jun 28 13:59:43 UTC 2012


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1340840071 18000
# Node ID 8c127c7e0c6dcd94e572cf72c64596d08ced4ea0
# Parent  1bc4037503e56a007ec011028945d34052acd832
histedit tests: fix check-code problems

diff --git a/tests/test-histedit-bookmark-motion.t b/tests/test-histedit-bookmark-motion.t
--- a/tests/test-histedit-bookmark-motion.t
+++ b/tests/test-histedit-bookmark-motion.t
@@ -1,6 +1,6 @@
   $ . "$TESTDIR/histedit-helpers.sh"
 
-  $  cat >> $HGRCPATH <<EOF
+  $ cat >> $HGRCPATH <<EOF
   > [extensions]
   > graphlog=
   > histedit=
@@ -8,10 +8,7 @@
 
   $ hg init r
   $ cd r
-See if bookmarks are in core. If not, then we don't support bookmark
-motion on this version of hg.
-  $ hg bookmarks || exit 80
-  no bookmarks set
+
   $ for x in a b c d e f ; do
   >     echo $x > $x
   >     hg add $x
diff --git a/tests/test-histedit-revspec.t b/tests/test-histedit-revspec.t
--- a/tests/test-histedit-revspec.t
+++ b/tests/test-histedit-revspec.t
@@ -44,7 +44,7 @@
   
 
 Run a dummy edit to make sure we get tip^^ correctly via revsingle.
-  $ HGEDITOR=cat hg histedit tip^^
+  $ HGEDITOR=cat hg histedit "tip^^"
   pick eb57da33312f 2 three
   pick c8e68270e35a 3 four
   pick 08d98a8350f3 4 five



More information about the Mercurial-devel mailing list