git-repo/subcmds
Dan Willemsen 745b4ad660 Fix gitc-init behavior
With gitc-init, a gitc client may be specified using '-c'. If we're
not currently in that client, we need to change directories so that
we don't affect the local checkout, and to ensure that repo is
checked out in the new client.

This also makes '-c' optional if already in a gitc client, to match
the rest of the init options.

Change-Id: Ib514ad9fd101698060ae89bb035499800897e9bd
2015-10-07 15:43:22 -07: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 'repo cherry-pick' to avoid hanging on commit-msg update. 2015-06-22 08:00:20 -04: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 Support filtering by group on forall and list subcmd 2015-07-30 12:59:35 -05:00
gitc_delete.py GITC: Add repo gitc-delete command. 2015-10-01 21:05:17 +00:00
gitc_init.py Fix gitc-init behavior 2015-10-07 15:43:22 -07:00
grep.py Tidy up code formatting a bit more 2012-11-14 12:09:38 +09:00
help.py Add GitcClientCommand class for GITC-specific commands 2015-09-29 13:46:34 -07:00
info.py Prevent repo info from crashing when default element doesn't exist. 2015-07-27 16:56:31 -07:00
init.py init: don't call urllib.parse 2015-06-04 00:33:33 +00:00
list.py Support filtering by group on forall and list subcmd 2015-07-30 12:59:35 -05: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 GITC: Always update the gitc manifest from the repo manifest 2015-09-09 20:50:40 -07:00
status.py status: lose dependence on StringIO 2015-04-04 21:21:49 +01:00
sync.py Sync: Add HTTP Cookie File header on temporary cookie file 2015-10-02 11:12:05 +09: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