Patchwork D2756: tests: simplify test-rebase-transaction.t

login
register
mail settings
Submitter phabricator
Date March 9, 2018, 10:29 p.m.
Message ID <c341c0b5ff8e6a2e2bf263477ef049a6@localhost.localdomain>
Download mbox | patch
Permalink /patch/29204/
State Not Applicable
Headers show

Comments

phabricator - March 9, 2018, 10:29 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG28ea00cd817e: tests: simplify test-rebase-transaction.t (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2756?vs=6766&id=6792

REVISION DETAIL
  https://phab.mercurial-scm.org/D2756

AFFECTED FILES
  tests/test-rebase-transaction.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

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
   >   |