Go to file
Olof Johansson 57bd7b717b Fix: GitError when using repo info -d
If a workspace is initialised with:

 repo init -u git://path/to/manifest -b manifest-branch

and the default.xml specifies the default revision as `other-branch`,
running `repo info -d` results in a GitError:

  fatal: bad revision 'refs/remotes/m/other-branch..'

The repo info command uses the default revision to build the symlink
to the remote revision which is passed to the `git rev-list` command.

This is incorrect; the manifest's branch name should be used.

Change-Id: Ibae5b91869848276785facfaef433e38d49fd726
2013-01-29 18:18:20 +09:00
docs Add missing manifest format documentation 2013-01-29 10:09:21 +09:00
hooks Update commit-msg hook to version from Gerrit v2.5-rc0 2012-10-04 10:31:09 +02:00
subcmds Fix: GitError when using repo info -d 2013-01-29 18:18:20 +09:00
tests Fix inconsistent indentation 2012-11-14 11:38:57 +09: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 Fix inconsistent indentation 2012-11-14 11:38:57 +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 Merge "should use os.path.lexist instead of os.path.exist" 2013-01-28 16:25:55 +00: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 Check for a cookie file when fetching clone.bundle. 2013-01-11 16:22:54 +00:00
repo Sync help text in repo from init.py 2012-11-15 06:21:24 +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