[PATCH 1 of 2 STABLE V2] test-clone: fix directory level

Adrian Buehlmann adrian at cadifra.com
Sun Oct 28 13:50:19 CDT 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1351430176 -3600
# Branch stable
# Node ID a4bd2433b517d370a5f52547d1583ad65cd7593c
# Parent  7b0b1da49f15c2aa20a8e7abe8fa1be26191e4fb
test-clone: fix directory level

92980a8dfdfe inserted a "cd a" but didn't restore the previous directory.

diff --git a/tests/test-clone.t b/tests/test-clone.t
--- a/tests/test-clone.t
+++ b/tests/test-clone.t
@@ -511,6 +511,7 @@
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg id -i ../i
   a7949464abda
+  $ cd "$TESTTMP"
 
 
 Testing failures:


More information about the Mercurial-devel mailing list