Mike Frysinger ae6cb08ae5 split out cli validation from execution
A common pattern in our subcommands is to verify the arguments &
options before executing things.  For some subcommands, that check
stage is quite long which makes the execution function even bigger.
Lets split that logic out of the execute phase so it's easier to
manage these.

This is most noticeable in the sync subcommand whose Execute func
is quite large, and the option checking makes up ~15% of it.

The manifest command's Execute can be simplified significantly as
the optparse configuration always sets output_file to a string.

Change-Id: I7097847ff040e831345e63de6b467ee17609990e
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/234834
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Tested-by: Mike Frysinger <vapier@google.com>
2019-08-28 03:54:11 +00:00
2016-09-14 09:49:02 +02:00
2013-03-08 01:18:08 +00:00
2017-05-26 21:44:57 +09:00
2019-06-13 14:30:52 +00:00
2008-10-21 07:00:00 -07:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2019-08-27 07:08:52 +00:00
2019-08-27 07:08:52 +00:00
2019-08-27 07:08:52 +00:00
2019-06-13 13:23:19 -04:00
2019-07-16 00:23:16 +00:00
2019-06-13 14:30:52 +00:00
2019-08-27 07:08:52 +00:00
2019-08-27 07:08:52 +00:00
2018-12-20 02:11:46 -05:00
2019-07-16 00:23:16 +00:00
2019-08-27 07:08:52 +00:00
2019-07-31 08:38:19 +00:00

repo

Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.

Description
No description provided
Readme Apache-2.0 35 MiB
Languages
Python 99.1%
Shell 0.9%