hg: test fixed - copied untracked file should be added to vcs

* hg should process such copied file as newly created one (the same way as git vcs);

GitOrigin-RevId: 39b7c17dd433eedb392e3ff1274047e5b614d4ea
This commit is contained in:
Nadya Zabrodina
2019-07-02 06:52:16 +03:00
committed by intellij-monorepo-bot
parent 8af24521d9
commit beb27bf85f
@@ -42,7 +42,7 @@ public class HgCopyTest extends HgSingleUserTest {
public void testCopyUnversionedFile() throws Exception {
VirtualFile file = makeFile(new File(myWorkingCopyDir.getPath(), "a.txt"));
copyFileInCommand(file, "b.txt");
verify(runHgOnProjectRepo("status"), HgTestOutputParser.unknown("a.txt"), HgTestOutputParser.unknown("b.txt"));
verify(runHgOnProjectRepo("status"), HgTestOutputParser.added("b.txt"), HgTestOutputParser.unknown("a.txt"));
}
@Test