I want to thank you for the --current-branch option released with repo 1.8.2 . It reduced my workspace size from 59GB to 34GB
It's perfect if you're working with a single manifest branch.
I ran into an issue a couple times though.
When I have a project in the manifest with revision=SHA1 for example, it'll break and throw the following exception up:
Exception in thread Thread-7:
Traceback (most recent call last):
File "/usr/local/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.5/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/root/workspace/nr5/.repo/repo/subcmds/sync.py", line 200, in _FetchHelper
clone_bundle=not opt.no_clone_bundle)
File "/root/workspace/nr5/.repo/repo/project.py", line 986, in Sync_NetworkHalf
self._InitMRef()
File "/root/workspace/nr5/.repo/repo/project.py", line 1760, in _InitMRef
self._InitAnyMRef(R_M + self.manifest.branch)
File "/root/workspace/nr5/.repo/repo/project.py", line 1772, in _InitAnyMRef
self.bare_git.UpdateRef(ref, dst, message = msg, detach = True)
File "/root/workspace/nr5/.repo/repo/project.py", line 1946, in UpdateRef
self.update_ref(*cmdv)
File "/root/workspace/nr5/.repo/repo/project.py", line 2007, in runner
p.stderr))
GitError: android/platform/cts update-ref: fatal: 0e0ff7494a35d05618923cb11586d9487cf5b62e^0: not a valid SHA1
If I'm using Jenkins' gerrit-repo plugin for example, I cannot use the manifest it generates for every build for syncing.
Thanks in advance for taking a look at it.
Luciano.