diff options
-rwxr-xr-x | repo | 2 | ||||
-rw-r--r-- | subcmds/sync.py | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -372,7 +372,7 @@ def InitParser(parser, gitc_init=False): | |||
372 | help='filter for use with --partial-clone ' | 372 | help='filter for use with --partial-clone ' |
373 | '[default: %default]') | 373 | '[default: %default]') |
374 | group.add_option('--use-superproject', action='store_true', default=None, | 374 | group.add_option('--use-superproject', action='store_true', default=None, |
375 | help='use the manifest superproject to sync projects') | 375 | help='use the manifest superproject to sync projects; implies -c') |
376 | group.add_option('--no-use-superproject', action='store_false', | 376 | group.add_option('--no-use-superproject', action='store_false', |
377 | dest='use_superproject', | 377 | dest='use_superproject', |
378 | help='disable use of manifest superprojects') | 378 | help='disable use of manifest superprojects') |
diff --git a/subcmds/sync.py b/subcmds/sync.py index 01704095..c2303232 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -12,7 +12,6 @@ | |||
12 | # See the License for the specific language governing permissions and | 12 | # See the License for the specific language governing permissions and |
13 | # limitations under the License. | 13 | # limitations under the License. |
14 | 14 | ||
15 | import errno | ||
16 | import functools | 15 | import functools |
17 | import http.cookiejar as cookielib | 16 | import http.cookiejar as cookielib |
18 | import io | 17 | import io |
@@ -235,7 +234,7 @@ later is required to fix a server side protocol bug. | |||
235 | dest='fetch_submodules', action='store_true', | 234 | dest='fetch_submodules', action='store_true', |
236 | help='fetch submodules from server') | 235 | help='fetch submodules from server') |
237 | p.add_option('--use-superproject', action='store_true', | 236 | p.add_option('--use-superproject', action='store_true', |
238 | help='use the manifest superproject to sync projects') | 237 | help='use the manifest superproject to sync projects; implies -c') |
239 | p.add_option('--no-use-superproject', action='store_false', | 238 | p.add_option('--no-use-superproject', action='store_false', |
240 | dest='use_superproject', | 239 | dest='use_superproject', |
241 | help='disable use of manifest superprojects') | 240 | help='disable use of manifest superprojects') |