From 7b08956a654c224f6d4d119cec70ba0042d9a04c Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 09 Jan 2012 22:06:42 -0500 Subject: [PATCH] New function to create an orphan branch (for future use) --- tests/com/gitblit/tests/JGitUtilsTest.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/com/gitblit/tests/JGitUtilsTest.java b/tests/com/gitblit/tests/JGitUtilsTest.java index 4e85b49..7c3f8ab 100644 --- a/tests/com/gitblit/tests/JGitUtilsTest.java +++ b/tests/com/gitblit/tests/JGitUtilsTest.java @@ -217,8 +217,8 @@ public void testCreateOrphanedBranch() throws Exception { Repository repository = JGitUtils.createRepository(GitBlitSuite.REPOSITORIES, "orphantest"); assertTrue(JGitUtils.createOrphanBranch(repository, - "x" + Long.toHexString(System.currentTimeMillis()).toUpperCase())); - FileUtils.delete(repository.getDirectory(), FileUtils.RECURSIVE); + "x" + Long.toHexString(System.currentTimeMillis()).toUpperCase(), null)); + FileUtils.delete(repository.getDirectory(), FileUtils.RECURSIVE); } @Test -- Gitblit v1.9.1