git-repo/subcmds
Mike Frysinger 01d6c3c0c5 sync: create dedicated smart sync func
The smart sync logic takes up about 45% of the overall Execute func
and is about 100 lines of code.  The only effect it has on the rest
of the code is to set the manifest_name variable.  Since this func
is already quite huge, split the smart sync logic out.

Change-Id: Id861849b0011ab47387d74e92c2ac15afcc938ba
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/234835
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
2019-09-11 23:24:11 +00:00
..
__init__.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
abandon.py split out cli validation from execution 2019-08-28 03:54:11 +00:00
branches.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
checkout.py split out cli validation from execution 2019-08-28 03:54:11 +00:00
cherry_pick.py split out cli validation from execution 2019-08-28 03:54:11 +00:00
diff.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
diffmanifests.py split out cli validation from execution 2019-08-28 03:54:11 +00:00
download.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
forall.py split out cli validation from execution 2019-08-28 03:54:11 +00:00
gitc_delete.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
gitc_init.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
grep.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
help.py help: add a --help-all option to show all commands at once 2019-08-27 07:07:24 +00:00
info.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
init.py split out cli validation from execution 2019-08-28 03:54:11 +00:00
list.py split out cli validation from execution 2019-08-28 03:54:11 +00:00
manifest.py split out cli validation from execution 2019-08-28 03:54:11 +00:00
overview.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
prune.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
rebase.py rebase: pull out project-independent settings from the for loop 2019-08-08 17:41:40 +00:00
selfupdate.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
smartsync.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
stage.py set default file encoding to utf-8 2019-06-13 14:30:52 +00:00
start.py Add repo start option to create the branch based off HEAD 2019-09-04 04:34:50 +00:00
status.py status: import print_function 2019-06-14 14:13:23 +00:00
sync.py sync: create dedicated smart sync func 2019-09-11 23:24:11 +00:00
upload.py use print() instead of sys.stdout.write() 2019-07-11 06:26:40 +00:00
version.py git_command: drop custom version helper 2019-07-11 01:30:18 +00:00