Mercurial > hg
changeset 17065:949e241b5573
histedit tests: fix check-code problems
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 27 Jun 2012 18:34:31 -0500 |
parents | 168cc52ad7c2 |
children | baf8887d40e2 |
files | tests/test-histedit-bookmark-motion.t tests/test-histedit-revspec.t |
diffstat | 2 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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 <<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
--- 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