test-dirstate-completion: fix the test

Summary: Avoid creating the same repo.

Reviewed By: xavierd

Differential Revision: D16381413

fbshipit-source-id: 9f1d6bee685af5cec26e40e7669ef794ce6b23ce
This commit is contained in:
Jun Wu 2019-07-19 13:23:33 -07:00 committed by Facebook Github Bot
parent f0a2127ace
commit bc191c2aa5

View File

@ -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"