Go to file
Matt Gumbel 0c635bb427 Make -notdefault a default manifest group
When trying to render manifest with SHAs, projects in group notdefault
caused the following crash:

    Traceback (most recent call last):
      File ".repo/repo/main.py", line 385, in <module>
        _Main(sys.argv[1:])
      File ".repo/repo/main.py", line 365, in _Main
        result = repo._Run(argv) or 0
      File ".repo/repo/main.py", line 137, in _Run
        result = cmd.Execute(copts, cargs)
      File ".repo/repo/subcmds/manifest.py", line 129, in Execute
        self._Output(opt, manifest)
      File ".repo/repo/subcmds/manifest.py", line 79, in _Output
        peg_rev = opt.peg_rev)
      File ".repo/repo/manifest_xml.py", line 199, in Save
        p.work_git.rev_parse(HEAD + '^0'))
      File ".repo/repo/project.py", line 2035, in runner
        capture_stderr = True)
      File ".repo/repo/git_command.py", line 215, in __init__
        raise GitError('%s: %s' % (command[1], e))
    error.GitError: rev-parse: [Errno 2] No such file or directory: 'prebuilts/eclipse-build-deps'

This patch resolves the issue by making sure that -notdefault is always
used as a default manifest group so that notdefault projects are not
rendered out by the manifest subcmd.

Change-Id: I4a8bd18ea7600309f39ceff1b1ab6e1ff3adf21d
Signed-off-by: Matt Gumbel <matthew.k.gumbel@intel.com>
2012-12-21 10:14:53 -08:00
docs Represent git-submodule as nested projects, take 2 2012-11-19 10:45:21 -08:00
hooks Update commit-msg hook to version from Gerrit v2.5-rc0 2012-10-04 10:31:09 +02:00
subcmds Allow sync to run even when the manifest is broken. 2012-12-05 11:01:36 +00: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 Make -notdefault a default manifest group 2012-12-21 10:14:53 -08: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 Represent git-submodule as nested projects, take 2 2012-11-19 10:45:21 -08: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