mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-04 16:14:25 +00:00
Allow repo init to restart if URL was initially invalid
This allows the user to run "repo init -u" again after an initial attempt failed due to an invalid URL. Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
1fc99f4e47
commit
df01883f9b
@ -130,7 +130,7 @@ default.xml will be used.
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
m.Sync_LocalHalf()
|
m.Sync_LocalHalf()
|
||||||
if is_new:
|
if is_new or m.CurrentBranch is None:
|
||||||
m.StartBranch('default')
|
m.StartBranch('default')
|
||||||
|
|
||||||
def _LinkManifest(self, name):
|
def _LinkManifest(self, name):
|
||||||
|
Loading…
Reference in New Issue
Block a user