# HG changeset patch # User Augie Fackler # Date 1340840071 18000 # Node ID 949e241b55734513e48140f71429200254529526 # Parent 168cc52ad7c2b47f9baeeaff4ac39a31d7dd95b6 histedit tests: fix check-code problems diff -r 168cc52ad7c2 -r 949e241b5573 tests/test-histedit-bookmark-motion.t --- a/tests/test-histedit-bookmark-motion.t Wed Jun 27 17:52:54 2012 -0500 +++ b/tests/test-histedit-bookmark-motion.t Wed Jun 27 18:34:31 2012 -0500 @@ -1,6 +1,6 @@ $ . "$TESTDIR/histedit-helpers.sh" - $ cat >> $HGRCPATH <> $HGRCPATH < [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 -r 168cc52ad7c2 -r 949e241b5573 tests/test-histedit-revspec.t --- a/tests/test-histedit-revspec.t Wed Jun 27 17:52:54 2012 -0500 +++ b/tests/test-histedit-revspec.t Wed Jun 27 18:34:31 2012 -0500 @@ -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