diff tests/test-issue522.t @ 49621:55c6ebd11cb9 stable

tests: run many tests in $TESTTMP/repo instead of $TESTTMP This is useful so we can store other files in $TESTTMP (in particular tests that use docket files (nodemap, dirstate-v2) keep file uids in $TESTTMP/UID)
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Fri, 18 Nov 2022 13:47:29 +0000
parents 4141951dacff
children
line wrap: on
line diff
--- a/tests/test-issue522.t	Fri Nov 18 13:52:18 2022 +0000
+++ b/tests/test-issue522.t	Fri Nov 18 13:47:29 2022 +0000
@@ -6,7 +6,8 @@
 sure that we'll use the version from p2 in the manifest of the merge
 revision.
 
-  $ hg init
+  $ hg init repo
+  $ cd repo
 
   $ echo foo > foo
   $ hg ci -qAm 'add foo'