mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user