Hi,
I believe that this is actually a problem in the cupcake branch, not
with his setup or stale files.
Proof: I have a script called GetDream, which takes a branch name as
an argument. It creates a directory named for the branch, does a cd
to that directory, then issues the repo commands to get the source.
So this is all happening in a brand new directory every time; there is
no possibility of a stale .repo or any such.
Today, 22 July, this command works:
GetDream android-1.5r2
This command fails:
GetDream android-sdk-1.5_r3
The problem seems to be when getting the local_manifest stuff for the
Dream. The error messages and my script follow.
Ian
--------------------------------------------------------------------------
GetDream script
#!/bin/csh -f
setenv LD_PRELOAD $HOME/.tconn/tconn.so
set branch = $1
mkdir "$branch"
cd "$branch"
$branch
repo sync
cat > .repo/local_manifest.xml <<!
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="kernel/common"/>
<project path="kernel" name="kernel/msm" revision="refs/heads/android-
msm-htc-2.6.25"/>
<project path="vendor/htc/dream" name="platform/vendor/htc/dream"/>
<project path="hardware/msm7k" name="platform/hardware/msm7k"/>
</manifest>
!
repo sync
--------------------------------------------------------------------------
Errors when checking out android-sdk-1.5_r3
$ GetDream android-sdk-1.5_r3
Traceback (most recent call last):
File "/home/smithi/Desktop/Projects/AndroidOS/Test/android-
sdk-1.5_r3/.repo/repo/main.py", line 235, in <module
>
_Main(sys.argv[1:])
File "/home/smithi/Desktop/Projects/AndroidOS/Test/android-
sdk-1.5_r3/.repo/repo/main.py", line 217, in _Main
repo._Run(argv)
File "/home/smithi/Desktop/Projects/AndroidOS/Test/android-
sdk-1.5_r3/.repo/repo/main.py", line 123, in _Run
cmd.Execute(copts, cargs)
File "/home/smithi/Desktop/Projects/AndroidOS/Test/android-
sdk-1.5_r3/.repo/repo/subcmds/sync.py", line 195, in
Execute
all = self.GetProjects(args, missing_ok=True)
File "/home/smithi/Desktop/Projects/AndroidOS/Test/android-
sdk-1.5_r3/.repo/repo/command.py", line 63, in GetPr
ojects
all = self.manifest.projects
File "/home/smithi/Desktop/Projects/AndroidOS/Test/android-
sdk-1.5_r3/.repo/repo/manifest_xml.py", line 158, in
projects
self._Load()
File "/home/smithi/Desktop/Projects/AndroidOS/Test/android-
sdk-1.5_r3/.repo/repo/manifest_xml.py", line 197, in
_Load
self._ParseManifest(False)
File "/home/smithi/Desktop/Projects/AndroidOS/Test/android-
sdk-1.5_r3/.repo/repo/manifest_xml.py", line 228, in
_ParseManifest
(name)
error.ManifestParseError: project kernel/common not found