mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +01:00
fix bug in HgRepositoryHandler initialization
This commit is contained in:
@@ -66,6 +66,24 @@ public class HgRepositoryHandler
|
|||||||
/** Field description */
|
/** Field description */
|
||||||
public static final Type TYPE = new Type(TYPE_NAME, TYPE_DISPLAYNAME);
|
public static final Type TYPE = new Type(TYPE_NAME, TYPE_DISPLAYNAME);
|
||||||
|
|
||||||
|
//~--- methods --------------------------------------------------------------
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method description
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void loadConfig()
|
||||||
|
{
|
||||||
|
super.loadConfig();
|
||||||
|
|
||||||
|
if (config == null)
|
||||||
|
{
|
||||||
|
config = new HgInitialConfigBuilder(baseDirectory).createInitialConfig();
|
||||||
|
storeConfig();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//~--- get methods ----------------------------------------------------------
|
//~--- get methods ----------------------------------------------------------
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user