Skip to content

Commit 8edd950

Browse files
author
Vladimir Kotal
committed
revert files to avoid uncommitted changes error
1 parent 56df3cf commit 8edd950

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/history/FileHistoryCacheTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ public void testStoreAndGetIncrementalTags() throws Exception {
191191
// Store the history.
192192
cache.store(historyToStore, repo);
193193

194+
// Avoid uncommitted changes.
195+
MercurialRepositoryTest.runHgCommand(reposRoot, "revert", "--all");
196+
194197
// Add bunch of changesets with file based changes and tags.
195198
MercurialRepositoryTest.runHgCommand(reposRoot, "import",
196199
Paths.get(getClass().getResource("/history/hg-export-tag.txt").toURI()).toString());

0 commit comments

Comments
 (0)