For those who may have problems for getting the repo, I added this post.
Without login to the registered Google 
account<https://www.google.com/accounts>, 
error msg will come out like: 

Traceback (most recent call last):
  File "/Users/lhong23/.repo/repo/main.py", line 385, in <module>
    _Main(sys.argv[1:])
  File "/Users/lhong23/.repo/repo/main.py", line 365, in _Main
    result = repo._Run(argv) or 0
  File "/Users/lhong23/.repo/repo/main.py", line 137, in _Run
    result = cmd.Execute(copts, cargs)
  File "/Users/lhong23/.repo/repo/subcmds/init.py", line 319, in Execute
    self._SyncManifest(opt)
  File "/Users/lhong23/.repo/repo/subcmds/init.py", line 141, in 
_SyncManifest
    m.PreSync()
  File "/Users/lhong23/.repo/repo/project.py", line 2166, in PreSync
    cb = self.CurrentBranch
  File "/Users/lhong23/.repo/repo/project.py", line 565, in CurrentBranch
    b = self.work_git.GetHead()
  File "/Users/lhong23/.repo/repo/project.py", line 1935, in GetHead
    fd = open(path, 'rb')
IOError: [Errno 2] No such file or directory: 
'/Users/lhong23/.repo/manifests/.git/HEAD'

So, you need to login to the registered Google 
account<https://www.google.com/accounts> and 
then be able to download the repo.
$ repo init -u https://android.googlesource.com/platform/manifest -b 
android-4.0.1_r1

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to