CyanogenMod/android — comment on commit 89acec784fd50305cc55d05ecb3416fcd7c3eb0e
File:  line 0
By jcsullins:

"This definitely works. ... See .. for fixing any issues."

Allow me to rephrase:

There is a known issue:

If you are using an "ancient" verson of repo OR you first initialized your repo
with an "ancient" version of repo, then it will cause problems. (Note: I did check
to make sure I had latest version of repo, which I did. However, apparently, my
repo was first initialized with an "ancient" version of repo.)

If you see errors such as:

"fatal: '../CyanogenMod/android.git' does not appear to be a git repository"

then you will need to make sure you have latest version of repo and that
your repo is re-initialized ("from scratch") with it.

For example:

# get latest repo
curl http://android.git.kernel.org/repo >~/bin/repo
chmod a+x ~/bin/repo

# clear old repo software and manifests
rm -rf .repo/repo
rm -rf .repo/manifest*

# re-initialize and re-sync (make sure to include "-b branchname")
repo init -u git://github.com/CyanogenMod/android.git -b ics
repo sync

NOTE: Your git repo blobs should remain intact so you should not have to re-download them.