diff options
| -rwxr-xr-x | repo | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -154,7 +154,8 @@ group.add_option('-m', '--manifest-name', | |||
| 154 | help='initial manifest file', metavar='NAME.xml') | 154 | help='initial manifest file', metavar='NAME.xml') |
| 155 | group.add_option('--mirror', | 155 | group.add_option('--mirror', |
| 156 | dest='mirror', action='store_true', | 156 | dest='mirror', action='store_true', |
| 157 | help='mirror the forrest') | 157 | help='create a replica of the remote repositories ' |
| 158 | 'rather than a client working directory') | ||
| 158 | group.add_option('--reference', | 159 | group.add_option('--reference', |
| 159 | dest='reference', | 160 | dest='reference', |
| 160 | help='location of mirror directory', metavar='DIR') | 161 | help='location of mirror directory', metavar='DIR') |
| @@ -225,7 +226,7 @@ def _Init(args): | |||
| 225 | except OSError as e: | 226 | except OSError as e: |
| 226 | print('fatal: cannot make %s directory: %s' | 227 | print('fatal: cannot make %s directory: %s' |
| 227 | % (repodir, e.strerror), file=sys.stderr) | 228 | % (repodir, e.strerror), file=sys.stderr) |
| 228 | # Don't faise CloneFailure; that would delete the | 229 | # Don't raise CloneFailure; that would delete the |
| 229 | # name. Instead exit immediately. | 230 | # name. Instead exit immediately. |
| 230 | # | 231 | # |
| 231 | sys.exit(1) | 232 | sys.exit(1) |
