Mercurial > evolve
diff tests/test-metaedit.t @ 3105:f5d472b7e800 mercurial-4.3
test-compat: revert output changes related to temporary amend commit
This backed out changeset 06844693bb21 and other related changes.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 20 Oct 2017 19:32:18 +0200 |
parents | 945a0989e41b |
children | c0ee9ddfd5ff |
line wrap: on
line diff
--- a/tests/test-metaedit.t Fri Oct 20 16:07:40 2017 +0200 +++ b/tests/test-metaedit.t Fri Oct 20 19:32:18 2017 +0200 @@ -80,11 +80,11 @@ ---- $ hg log -G - @ 7 : F - test + @ 8 : F - test | - o 6 : E - test + o 7 : E - test | - | o 5 : D2 - test + | o 6 : D2 - test |/ o 3 : C - test | @@ -124,10 +124,13 @@ $ hg metaedit --user foobar 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg log --template '{rev}: {author}\n' -r 'desc(F):' --hidden + 5: test + 6: test 7: test - 8: foobar + 8: test + 9: foobar $ hg log --template '{rev}: {author}\n' -r . - 8: foobar + 9: foobar TODO: support this $ hg metaedit '.^::.' @@ -136,11 +139,11 @@ $ HGEDITOR=cat hg metaedit '.^::.' --fold HG: This is a fold of 2 changesets. - HG: Commit message of changeset 6. + HG: Commit message of changeset 7. E - HG: Commit message of changeset 8. + HG: Commit message of changeset 9. F @@ -157,7 +160,7 @@ 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ glog -r . - @ 9:a08d35fd7d9d@default(draft) E + @ 10:a08d35fd7d9d@default(draft) E | ~ @@ -179,7 +182,7 @@ nothing changed $ glog -r '.^::.' - @ 9:a08d35fd7d9d@default(draft) E + @ 10:a08d35fd7d9d@default(draft) E | o 3:3260958f1169@default(draft) C | @@ -193,20 +196,20 @@ 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg log -r '.^::.' --template '{rev}: {desc|firstline}\n' 3: C - 10: E + 11: E $ hg up .^ 0 files updated, 0 files merged, 2 files removed, 0 files unresolved $ hg metaedit --user foobar2 tip $ hg log --template '{rev}: {author}\n' -r "user(foobar):" --hidden - 8: foobar - 9: test + 9: foobar 10: test - 11: foobar2 + 11: test + 12: foobar2 $ hg diff -r "10" -r "11" --hidden 'fold' one commit $ HGUSER=foobar3 hg metaedit "desc(D2)" --fold -U --config 1 changesets folded $ hg log -r "tip" --template '{rev}: {author}\n' - 12: foobar3 + 13: foobar3