# HG changeset patch # User Martin von Zweigbergk # Date 2018-03-09 04:55:51 # Node ID f4e9e89330d42b6b0fdc49bb74c2c7b70a7258c2 # Parent f9078c6caeb6930d62f815842a68828834cc6333 tests: simplify test-rebase-transaction.t The file was extracted from test-rebase-base.t in 8cef8f7d51d0 (test-rebase-base: clarify it is about the "--base" flag, 2017-10-05). This patch follows up that and clarifies the new file's purpose and simplifies it a bit. Differential Revision: https://phab.mercurial-scm.org/D2756 diff --git a/tests/test-rebase-transaction.t b/tests/test-rebase-transaction.t --- a/tests/test-rebase-transaction.t +++ b/tests/test-rebase-transaction.t @@ -1,8 +1,13 @@ +Rebasing using a single transaction + $ cat >> $HGRCPATH < [extensions] > rebase= > drawdag=$TESTDIR/drawdag.py > + > [rebase] + > singletransaction=True + > > [phases] > publish=False > @@ -10,13 +15,9 @@ > tglog = log -G --template "{rev}: {desc}" > EOF -Rebasing using a single transaction +Check that a simple rebase works - $ hg init singletr && cd singletr - $ cat >> .hg/hgrc < [rebase] - > singletransaction=True - > EOF + $ hg init simple && cd simple $ hg debugdrawdag <<'EOF' > Z > |