public class LocalHgSetupHelper extends Object
Constructor and Description |
---|
LocalHgSetupHelper() |
Modifier and Type | Method and Description |
---|---|
static HgRepositoryDescriptor |
cloneLocalRepository(HgRepositoryDescriptor localRepository)
Clone a local bare Hg repository.
|
static HgRepositoryDescriptor |
createLocalHgRepository()
Creates a local Hg repository with initial content from
BambooTestConstants.HG_DUMP_FILE_NAME . |
public static HgRepositoryDescriptor createLocalHgRepository() throws Exception
BambooTestConstants.HG_DUMP_FILE_NAME
.
After the repository is no longer needed, cleanup with HgRepositoryDescriptor.deleteRepository()
.
Exception
public static HgRepositoryDescriptor cloneLocalRepository(@NotNull HgRepositoryDescriptor localRepository) throws Exception
After the repository is no longer needed, cleanup with HgRepositoryDescriptor.deleteRepository()
.
Exception
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.