mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
superproject: added 'implies -c' in the help of --use-superproject option.
sync.py: deleted unused import errno. Tested: $ ./run_tests $ flake8 repo subcmds/sync.py Bug: https://crbug.com/gerrit/15208 Change-Id: I2bb3098f5602ded3861e000100766041ad93b53d Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/322555 Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Raman Tenneti <rtenneti@google.com>
This commit is contained in:
parent
11b30b91df
commit
6251729cb4
2
repo
2
repo
@ -372,7 +372,7 @@ def InitParser(parser, gitc_init=False):
|
|||||||
help='filter for use with --partial-clone '
|
help='filter for use with --partial-clone '
|
||||||
'[default: %default]')
|
'[default: %default]')
|
||||||
group.add_option('--use-superproject', action='store_true', default=None,
|
group.add_option('--use-superproject', action='store_true', default=None,
|
||||||
help='use the manifest superproject to sync projects')
|
help='use the manifest superproject to sync projects; implies -c')
|
||||||
group.add_option('--no-use-superproject', action='store_false',
|
group.add_option('--no-use-superproject', action='store_false',
|
||||||
dest='use_superproject',
|
dest='use_superproject',
|
||||||
help='disable use of manifest superprojects')
|
help='disable use of manifest superprojects')
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import errno
|
|
||||||
import functools
|
import functools
|
||||||
import http.cookiejar as cookielib
|
import http.cookiejar as cookielib
|
||||||
import io
|
import io
|
||||||
@ -235,7 +234,7 @@ later is required to fix a server side protocol bug.
|
|||||||
dest='fetch_submodules', action='store_true',
|
dest='fetch_submodules', action='store_true',
|
||||||
help='fetch submodules from server')
|
help='fetch submodules from server')
|
||||||
p.add_option('--use-superproject', action='store_true',
|
p.add_option('--use-superproject', action='store_true',
|
||||||
help='use the manifest superproject to sync projects')
|
help='use the manifest superproject to sync projects; implies -c')
|
||||||
p.add_option('--no-use-superproject', action='store_false',
|
p.add_option('--no-use-superproject', action='store_false',
|
||||||
dest='use_superproject',
|
dest='use_superproject',
|
||||||
help='disable use of manifest superprojects')
|
help='disable use of manifest superprojects')
|
||||||
|
Loading…
Reference in New Issue
Block a user