git-repo/subcmds
David Pursehouse b155354034 Add option on sync to avoid fetching from remotes for existing sha1
In 2fb6466f79 an optimisation was
added to avoid fetching from remotes if the project is fixed to
a revision and the revision is already available locally.

This causes problems for users who expect all objects to be
fetched by default.

Change the logic so that the optimized behaviour is only enabled if
an option is explicitly given to repo sync.

Change-Id: I3b2794ddd8e0071b1787e166463cd8347ca9e24f
2015-04-30 14:29:02 +00:00
..
__init__.py Some fixes for supporting python3 2013-04-18 21:35:49 +05:30
abandon.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
branches.py Provide detail print-out when not all projects of a branch are current. 2014-07-11 10:56:03 -07:00
checkout.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
cherry_pick.py Fix: Missing spaces in printed messages 2013-03-05 17:30:59 +09:00
diff.py Option for 'repo diff' to generate output suitable for 'patch' cmd 2012-04-13 09:20:10 -07:00
diffmanifests.py Add the "diffmanifests" command 2014-02-17 11:20:11 +00:00
download.py Exit 1 if repo download -c fails 2014-10-17 15:45:57 -04:00
forall.py forall: use a generator to map the Pool 2015-04-08 13:22:34 +01:00
grep.py Tidy up code formatting a bit more 2012-11-14 12:09:38 +09:00
help.py Some fixes for supporting python3 2013-04-18 21:35:49 +05:30
info.py Remove unused show_smart option on list and info commands 2013-05-16 09:32:18 +09:00
init.py Revert "Implementation of manifest defined githooks" 2015-03-17 11:29:58 -07:00
list.py Remove unused show_smart option on list and info commands 2013-05-16 09:32:18 +09:00
manifest.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
overview.py Some fixes for supporting python3 2013-04-18 21:35:49 +05:30
prune.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
rebase.py repo: Support multiple branches for the same project. 2013-10-14 15:34:32 -07:00
selfupdate.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
smartsync.py Clean up imports 2012-09-18 09:54:57 +02:00
stage.py stage: replace filter on lambda with list comprehension 2013-05-08 06:37:15 +01:00
start.py If revision is sha hash and dest-branch is defined, use it for starting branch 2014-10-27 12:25:05 +00:00
status.py status: lose dependence on StringIO 2015-04-04 21:21:49 +01:00
sync.py Add option on sync to avoid fetching from remotes for existing sha1 2015-04-30 14:29:02 +00:00
upload.py upload: report names of uncommitted files 2014-10-14 11:20:05 -07:00
version.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00