summaryrefslogtreecommitdiff
path: root/tests/test-histedit-revspec.t
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-27 14:30:31 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-27 14:30:31 +0100
commit4b0aa73b8c69bd5b7521337809f7bc4714209a5a (patch)
tree75f4c36771caf222280249cd1ed611d5ade8bd48 /tests/test-histedit-revspec.t
parent59a96880b5d035db83067acda8345497c75d7716 (diff)
parent921ced43c48c1d170452a7b251b94cc96ec8dd44 (diff)
downloadmercurial-tarball-baserock/morph.tar.gz
Merge remote-tracking branch 'origin/master' into baserock/morphbaserock/morph
This changes us to 1.9.3 which might stand a better chance of being usable by Lorry. We also undo the setup.py change because python now supports bz2
Diffstat (limited to 'tests/test-histedit-revspec.t')
-rw-r--r--tests/test-histedit-revspec.t62
1 files changed, 0 insertions, 62 deletions
diff --git a/tests/test-histedit-revspec.t b/tests/test-histedit-revspec.t
deleted file mode 100644
index 06601d3..0000000
--- a/tests/test-histedit-revspec.t
+++ /dev/null
@@ -1,62 +0,0 @@
-This test requires parentrevspec support in revsets, so check for that
-and skip the test if we're on an unusual hg that supports .t tests but
-not parentrevspec.
- $ python -c 'from mercurial import revset ; revset.methods["parentpost"]' || exit 80
-
-Enable extensions used by this test.
- $ cat >>$HGRCPATH <<EOF
- > [extensions]
- > graphlog=
- > histedit=
- > EOF
-
-Repo setup.
- $ hg init foo
- $ cd foo
- $ echo alpha >> alpha
- $ hg addr
- adding alpha
- $ hg ci -m one
- $ echo alpha >> alpha
- $ hg ci -m two
- $ echo alpha >> alpha
- $ hg ci -m three
- $ echo alpha >> alpha
- $ hg ci -m four
- $ echo alpha >> alpha
- $ hg ci -m five
-
- $ hg log --style compact --graph
- @ 4[tip] 08d98a8350f3 1970-01-01 00:00 +0000 test
- | five
- |
- o 3 c8e68270e35a 1970-01-01 00:00 +0000 test
- | four
- |
- o 2 eb57da33312f 1970-01-01 00:00 +0000 test
- | three
- |
- o 1 579e40513370 1970-01-01 00:00 +0000 test
- | two
- |
- o 0 6058cbb6cfd7 1970-01-01 00:00 +0000 test
- one
-
-
-Run a dummy edit to make sure we get tip^^ correctly via revsingle.
- $ HGEDITOR=cat hg histedit "tip^^"
- pick eb57da33312f 2 three
- pick c8e68270e35a 3 four
- pick 08d98a8350f3 4 five
-
- # Edit history between eb57da33312f and 08d98a8350f3
- #
- # Commands:
- # p, pick = use commit
- # e, edit = use commit, but stop for amending
- # f, fold = use commit, but fold into previous commit (combines N and N-1)
- # d, drop = remove commit from history
- # m, mess = edit message without changing commit content
- #
- 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-