diff tests/test-merge1.t @ 13956:ffb5c09ba822

tests: remove redundant mkdir There are still many tests that check that a bare 'hg init' initializes the current directory.
author Martin Geisler <mg@lazybytes.net>
date Tue, 19 Apr 2011 12:04:44 +0200
parents d724a69309e0
children 1e9451476bf8
line wrap: on
line diff
--- a/tests/test-merge1.t	Mon Apr 18 20:52:08 2011 -0500
+++ b/tests/test-merge1.t	Tue Apr 19 12:04:44 2011 +0200
@@ -12,9 +12,8 @@
   > EOF
   $ HGMERGE="python ../merge"; export HGMERGE
 
-  $ mkdir t
+  $ hg init t
   $ cd t
-  $ hg init
   $ echo This is file a1 > a
   $ hg add a
   $ hg commit -m "commit #0"
@@ -49,9 +48,8 @@
   M b
   $ cd ..; rm -r t
 
-  $ mkdir t
+  $ hg init t
   $ cd t
-  $ hg init
   $ echo This is file a1 > a
   $ hg add a
   $ hg commit -m "commit #0"
@@ -86,9 +84,8 @@
   M b
   $ cd ..; rm -r t
 
-  $ mkdir t
+  $ hg init t
   $ cd t
-  $ hg init
   $ echo This is file a1 > a
   $ hg add a
   $ hg commit -m "commit #0"
@@ -129,9 +126,8 @@
   M b
   $ cd ..; rm -r t
 
-  $ mkdir t
+  $ hg init t
   $ cd t
-  $ hg init
   $ echo This is file a1 > a
   $ hg add a
   $ hg commit -m "commit #0"