Package com.aragost.javahg

Examples of com.aragost.javahg.BaseRepository.workingCopy()


                }
            }
        };
        cmd.execute();
        writeFile("A");
        repo.workingCopy().add("A");
        try {
            // The previous config change is not forgotten
            CommitCommand commit = CommitCommand.on(repo).message("m");
            Changeset cs = commit.execute();
            assertFailedExecution(commit, "Username is " + cs.getUser());
View Full Code Here


        BaseRepository repo = getTestRepository();
        Changeset cs1 = createChangeset();
        createChangeset();
        Changeset newTip = RollbackCommand.on(repo).execute();
        Assert.assertSame(cs1, newTip);
        Assert.assertEquals(1, repo.workingCopy().status().getModified().size());
        // The following commit might fail, see mercurial issue 3261
        // TODO How to handle cases like this?
        //createChangeset();
    }
}
View Full Code Here

                }
            }
        };
        cmd.execute();
        writeFile("A");
        repo.workingCopy().add("A");
        try {
            // The previous config change is not forgotten
            CommitCommand commit = CommitCommand.on(repo).message("m");
            Changeset cs = commit.execute();
            assertFailedExecution(commit, "Username is " + cs.getUser());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.