From bc191c2aa582d6c000f964b67418a117d3638c96 Mon Sep 17 00:00:00 2001 From: Jun Wu Date: Fri, 19 Jul 2019 13:23:33 -0700 Subject: [PATCH] test-dirstate-completion: fix the test Summary: Avoid creating the same repo. Reviewed By: xavierd Differential Revision: D16381413 fbshipit-source-id: 9f1d6bee685af5cec26e40e7669ef794ce6b23ce --- tests/test-dirstate-completion-t.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test-dirstate-completion-t.py b/tests/test-dirstate-completion-t.py index 4271491cc9..6c8af9d76b 100644 --- a/tests/test-dirstate-completion-t.py +++ b/tests/test-dirstate-completion-t.py @@ -21,8 +21,7 @@ for testcase in ["v0", "v1", "v2"]: if feature.check(["v2"]): sh % "setconfig 'format.dirstate=2'" - sh % "hg init repo" - sh % "cd repo" + sh % "newrepo" sh % "echo file1" > "file1" sh % "echo file2" > "file2" sh % "mkdir -p dira dirb"