itsmiru / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

"repo help sync" throws an exception. #90

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
OSX 10.6.8

$ repo --version
repo version v1.7.7.1
       (from https://code.google.com/p/git-repo/)
git version 1.7.6.4
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
[GCC 4.2.1 (Apple Inc. build 5646)]

$ repo help sync

Summary
-------
Update working tree to the latest revision

Traceback (most recent call last):
  File "/Volumes/Android/master-trygon/.repo/repo/main.py", line 337, in <module
    _Main(sys.argv[1:])
  File "/Volumes/Android/master-trygon/.repo/repo/main.py", line 319, in _Main
    repo._Run(argv)
  File "/Volumes/Android/master-trygon/.repo/repo/main.py", line 135, in _Run
    cmd.Execute(copts, cargs)
  File "/Volumes/Android/master-trygon/.repo/repo/subcmds/help.py", line 168, in
    self._PrintCommandHelp(cmd)
  File "/Volumes/Android/master-trygon/.repo/repo/subcmds/help.py", line 144, in
    cmd.OptionParser.print_help()
  File "/Volumes/Android/master-trygon/.repo/repo/command.py", line 42, in Optio
    self._Options(self._optparse)
  File "/Volumes/Android/master-trygon/.repo/repo/subcmds/sync.py", line 120, in
    self.jobs = self.manifest.default.sync_j
AttributeError: 'NoneType' object has no attribute 'default'
(END) 

Original issue reported on code.google.com by jack...@google.com on 6 Oct 2011 at 3:35

GoogleCodeExporter commented 8 years ago
reasonably sure this is sorted in 1.7.8...

Original comment by ferri...@google.com on 5 Jan 2012 at 12:15