[AT&T Samsung Galaxy S II SGH-I777] MotoMudder77:
Decided I'd play around with building. been a long while since I have. Got this error while repo sync, basically at the end. This possibly because of the old repo's and such I have setup for building CM9 and AOKP?

Fetching projects: 99% (307/310) Receiving objects: 93% (846/904), 113.46 MiBremote: Total 904 (delta 132), reused 904 (delta 132)
Receiving objects: 100% (904/904), 172.84 MiB | 227 KiB/s, done.
Resolving deltas: 100% (132/132), done.
From git://github.com/CyanogenMod/android_external_eclipse-basebuilder
* [new branch] jellybean -> github/jellybean
remote: Total 17 (delta 0), reused 17 (delta 0)
Unpacking objects: 100% (17/17), done..16 MiB | 782 KiB/s
From git://github.com/CyanogenMod/android_prebuilts_eclipse
* [new branch] jellybean -> github/jellybean
remote: Total 902 (delta 407), reused 902 (delta 407)
Receiving objects: 100% (902/902), 236.37 MiB | 758 KiB/s, done.
Resolving deltas: 100% (407/407), done.
From git://github.com/CyanogenMod/android_prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.6
* [new branch] jellybean -> github/jellybean
Fetching projects: 100% (310/310), done.
info: A new version of repo is available

project .repo/repo/
Updating c3d2f2b..e8f75fa
Fast-forward
command.py | 17 +++++-
docs/manifest-format.txt | 38 +++++++++++-
error.py | 12 ++++
git_command.py | 6 ++
hooks/pre-auto-gc | 5 ++
manifest_xml.py | 152 +++++++++++++++++++++++++++++++++++-----------
project.py | 107 +++++++++++++++++++++++++++++---
repo | 25 +++++++-
subcmds/diff.py | 15 ++++-
subcmds/download.py | 21 ++++++-
subcmds/forall.py | 7 +++
subcmds/init.py | 35 +++++++++++
subcmds/rebase.py | 21 +++++++
subcmds/start.py | 5 ++
subcmds/status.py | 11 +++-
subcmds/sync.py | 5 +-
subcmds/upload.py | 22 ++++++-
17 files changed, 443 insertions(+), 61 deletions(-)

info: Restarting repo with latest version
Fetching projects: 100% (309/309), done.
Deleting obsolete path /home/matt/android/system/device/moto/common
Deleting obsolete path /home/matt/android/system/device/moto/stingray
Deleting obsolete path /home/matt/android/system/device/moto/wingray
Deleting obsolete path /home/matt/android/system/device/samsung/maguro
Deleting obsolete path /home/matt/android/system/device/samsung/p4-common
Deleting obsolete path /home/matt/android/system/device/samsung/p5-common
Deleting obsolete path /home/matt/android/system/device/samsung/toro
Deleting obsolete path /home/matt/android/system/device/samsung/tuna
Deleting obsolete path /home/matt/android/system/external/bootmenu
Deleting obsolete path /home/matt/android/system/external/collada
Deleting obsolete path /home/matt/android/system/external/lsof
Deleting obsolete path /home/matt/android/system/external/pcre
Deleting obsolete path /home/matt/android/system/external/wireless-tools
Deleting obsolete path /home/matt/android/system/external/wpa_supplicant
Deleting obsolete path /home/matt/android/system/frameworks/media/libvideoeditor
Deleting obsolete path /home/matt/android/system/hardware/samsung
Deleting obsolete path /home/matt/android/system/packages/apps/Superuser
Deleting obsolete path /home/matt/android/system/packages/apps/Trebuchet
Deleting obsolete path /home/matt/android/system/packages/apps/Usb
Deleting obsolete path /home/matt/android/system/packages/providers/GoogleContactsProvider
Deleting obsolete path /home/matt/android/system/vendor/qcom/opensource/omx/mm-core
Deleting obsolete path /home/matt/android/system/vendor/qcom/opensource/omx/mm-video
fatal: This operation must be run in a work tree
Syncing work tree: 5% (16/309) error: revision refs/heads/jellybean in CyanogenMod/android_device_samsung_galaxys2 not found
matt@matt-g7:~/android/system$