diff options
Diffstat (limited to 'subcmds/init.py')
| -rw-r--r-- | subcmds/init.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 937296bb..04de48a7 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
| @@ -124,7 +124,11 @@ default.xml will be used. | |||
| 124 | print >>sys.stderr, 'fatal: --mirror not supported on existing client' | 124 | print >>sys.stderr, 'fatal: --mirror not supported on existing client' |
| 125 | sys.exit(1) | 125 | sys.exit(1) |
| 126 | 126 | ||
| 127 | m.Sync_NetworkHalf() | 127 | if not m.Sync_NetworkHalf(): |
| 128 | r = m.GetRemote(m.remote.name) | ||
| 129 | print >>sys.stderr, 'fatal: cannot obtain manifest %s' % r.url | ||
| 130 | sys.exit(1) | ||
| 131 | |||
| 128 | m.Sync_LocalHalf() | 132 | m.Sync_LocalHalf() |
| 129 | if is_new: | 133 | if is_new: |
| 130 | m.StartBranch('default') | 134 | m.StartBranch('default') |
