D2756: tests: simplify test-rebase-transaction.t
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Mar 9 18:36:19 UTC 2018
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
The file was extracted from test-rebase-base.t in https://phab.mercurial-scm.org/rHG8cef8f7d51d0f1e99889779ec1320d5c9c3b91de
(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.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2756
AFFECTED FILES
tests/test-rebase-transaction.t
CHANGE DETAILS
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,22 +1,23 @@
+Rebasing using a single transaction
+
$ cat >> $HGRCPATH <<EOF
> [extensions]
> rebase=
> drawdag=$TESTDIR/drawdag.py
>
+ > [rebase]
+ > singletransaction=True
+ >
> [phases]
> publish=False
>
> [alias]
> 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 <<EOF
- > [rebase]
- > singletransaction=True
- > EOF
+ $ hg init simple && cd simple
$ hg debugdrawdag <<'EOF'
> Z
> |
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list