diff options
Diffstat (limited to 'subcmds/init.py')
| -rw-r--r-- | subcmds/init.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 0075b0b4..0586721f 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
| @@ -117,6 +117,7 @@ to update the working directory files. | |||
| 117 | if opt.mirror: | 117 | if opt.mirror: |
| 118 | if is_new: | 118 | if is_new: |
| 119 | m.config.SetString('repo.mirror', 'true') | 119 | m.config.SetString('repo.mirror', 'true') |
| 120 | m.config.ClearCache() | ||
| 120 | else: | 121 | else: |
| 121 | print >>sys.stderr, 'fatal: --mirror not supported on existing client' | 122 | print >>sys.stderr, 'fatal: --mirror not supported on existing client' |
| 122 | sys.exit(1) | 123 | sys.exit(1) |
