Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_ReadPackedRefs:120 throw Exception; list index out of range #185

Open
GoogleCodeExporter opened this issue Jul 3, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

Affected Version:
newest

Environment:
mac osx 10.10
git 1.9

steps reproduce the problem:
execute command  repo sync -j4 in terminal.app

expected:
no exception

actual:
/.repo/repo/git_refs.py", line 120, in _ReadPackedRefs name = p[1] IndexError: 
list index out of range

fixed step:
change 119:125 to

119         if len(p)> 1:
120           ref_id = p[0]
121           name = p[1]//out of index exception here!!!
122 
123           self._phyref[name] = ref_id
124         else:
125           print 'error ref path: {0}'.format( path)

Original issue reported on code.google.com by [email protected] on 9 Nov 2014 at 2:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant