|
|
@ -246,9 +246,8 @@ public class SubmoduleInitTest extends RepositoryTestCase { |
|
|
|
if (File.separatorChar == '\\') |
|
|
|
if (File.separatorChar == '\\') |
|
|
|
base = base.replace('\\', '/'); |
|
|
|
base = base.replace('\\', '/'); |
|
|
|
FileBasedConfig config = db.getConfig(); |
|
|
|
FileBasedConfig config = db.getConfig(); |
|
|
|
config.setString(ConfigConstants.CONFIG_REMOTE_SECTION, |
|
|
|
config.unset(ConfigConstants.CONFIG_REMOTE_SECTION, |
|
|
|
Constants.DEFAULT_REMOTE_NAME, ConfigConstants.CONFIG_KEY_URL, |
|
|
|
Constants.DEFAULT_REMOTE_NAME, ConfigConstants.CONFIG_KEY_URL); |
|
|
|
null); |
|
|
|
|
|
|
|
config.save(); |
|
|
|
config.save(); |
|
|
|
|
|
|
|
|
|
|
|
SubmoduleWalk generator = SubmoduleWalk.forIndex(db); |
|
|
|
SubmoduleWalk generator = SubmoduleWalk.forIndex(db); |
|
|
|