[PATCH] tests: change to parent directory before all "hg init" in test-log.t

Denis Laxalde denis at laxalde.org
Wed Oct 4 08:02:55 UTC 2017


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1507104135 -7200
#      Wed Oct 04 10:02:15 2017 +0200
# Node ID ce039e36330840dd7f76d0573acf993a0966bac4
# Parent  2fd06499dc8e6a5a784b1334b925c289d7b54e4e
# Available At http://hg.logilab.org/users/dlaxalde/hg
#              hg pull http://hg.logilab.org/users/dlaxalde/hg -r ce039e363308
tests: change to parent directory before all "hg init" in test-log.t

Add a "cd .." before the second "hg init" so that all repositories are on top
level of test directory. Makes inspection of test directory easier.

diff --git a/tests/test-log.t b/tests/test-log.t
--- a/tests/test-log.t
+++ b/tests/test-log.t
@@ -15,6 +15,8 @@ Log on empty repository: checking consis
   $ hg log -r null -q
   -1:000000000000
 
+  $ cd ..
+
 The g is crafted to have 2 filelog topological heads in a linear
 changeset graph
 


More information about the Mercurial-devel mailing list