Go to file
Shawn Pearce 45d21685b9 upload: support --re and --cc options over HTTP
HTTP can't use the older style of passing options as part of
the git receive-pack command line. Use the new style as defined
by https://gerrit-review.googlesource.com/42652 when connecting
over HTTP.

If the Gerrit server is too old to understand the % option
syntax used here one of two outcomes is possible:

- If no topic name was sent the server will fail with an error
  message. This happens because the user tried to do an upload to
  "refs/for/master%r=alice", and the branch does not exist.
  The user can delete the options and retry the upload.

- If a topic was set the options will be read as part of the
  topic string and shown on the change page in the topic field.

Either outcome is slightly better than the current behavior of
just dropping the data on the floor and forgetting whatever the
user tried to supply.

Change-Id: Ib2df62679e5bf3ee93d6b18c12ab6474f96d9106
2013-02-28 12:10:31 -08:00
docs Add missing manifest format documentation 2013-01-29 10:09:21 +09:00
hooks Update the commit-msg hook to the version from Gerrit 2.5.2 2013-02-13 09:56:09 +09:00
subcmds Add --no-tags option to prevent fetching of tags 2013-02-27 11:00:49 +09:00
tests Fix inconsistent indentation 2012-11-14 11:38:57 +09:00
.gitattributes Protect line endings in shell scripts 2013-02-11 22:13:39 +01:00
.gitignore .gitignore: add an entry for repopickles 2009-06-28 15:08:56 -07:00
.project Add PyDev project files to repo 2009-06-02 00:09:07 +02:00
.pydevproject Change PyDev project version to "python 2.6" 2012-10-23 21:35:46 -07:00
.pylintrc Tidy up code formatting a bit more 2012-11-14 12:09:38 +09:00
color.py Add nofmt_printer to color.py 2013-02-26 16:04:55 +09:00
command.py Represent git-submodule as nested projects, take 2 2012-11-19 10:45:21 -08:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
error.py Raise a NoManifestException when the manifest DNE 2012-11-15 18:50:11 -08:00
git_command.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
git_config.py Tidy up code formatting a bit more 2012-11-14 12:09:38 +09:00
git_refs.py Even more coding style cleanup 2012-10-30 10:28:20 +09:00
git_ssh Don't allow git fetch to start ControlMaster 2010-10-29 08:15:14 -07:00
main.py Allow command options to be set from environment variables 2012-11-17 12:40:42 +09:00
manifest_xml.py Exit with fatal error if local manifest file cannot be parsed 2013-02-17 21:20:20 +09:00
pager.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
progress.py Support units in progress messages 2011-09-19 14:52:57 -07:00
project.py upload: support --re and --cc options over HTTP 2013-02-28 12:10:31 -08:00
repo Don't exit with error on HTTP 403 when downloading clone bundle 2013-01-31 21:12:08 +09:00
SUBMITTING_PATCHES Add pylint configuration and instructions 2012-10-24 10:18:13 +09:00
trace.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00