changeset 14278:59c820a6ca79

test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
author Martin Geisler <mg@aragost.com>
date Mon, 09 May 2011 14:33:08 +0200
parents 4d891ed9a6af
children b039b667515d
files tests/test-debugbuilddag.t
diffstat 1 files changed, 5 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-debugbuilddag.t	Mon May 09 11:01:45 2011 +0200
+++ b/tests/test-debugbuilddag.t	Mon May 09 14:33:08 2011 +0200
@@ -3,9 +3,7 @@
 
 plain
 
-  $ rm -rf repo
-  $ hg init repo
-  $ cd repo
+  $ hg init
   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2'
 tags
   $ cat .hg/localtags
@@ -49,9 +47,8 @@
 
 overwritten files
 
-  $ rm -rf repo
-  $ hg init repo
-  $ cd repo
+  $ rm -r .hg
+  $ hg init
   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -o
 tags
   $ cat .hg/localtags
@@ -126,14 +123,12 @@
 cat of
   $ hg cat of --rev tip
   r11
-  $ cd ..
 
 
 new and mergeable files
 
-  $ rm -rf repo
-  $ hg init repo
-  $ cd repo
+  $ rm -r .hg
+  $ hg init
   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -mn
 dag
   $ hg debugdag -t -b
@@ -307,7 +302,6 @@
   21
   22 r11
   23
-  $ cd ..