enochcheng / git-repo

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

repo puts repository in bad state #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Affected Version:
$ repo --version
repo version v1.6.8.7-2

Environment:
Fedora Core 10

What steps will reproduce the problem?
1. Sync a repository against a branch that does not exist
2. Create the branch on the server
3. Sync again

What is the expected output?

Sync works correctly now.

What do you see instead?

IOError: [Errno 2] No such file or directory: u'/path/to/project/.git/HEAD'

Please provide any additional information below.

To get around this error, the project can be deleted from both the workspace 
and .repo/projects.

Original issue reported on code.google.com by m.bn...@gmail.com on 9 Aug 2010 at 2:51