Nope, it doesn't know how to prune. But it will stop updating them, as it doesn't know about them in the manifest.
On Mar 18, 2009 8:13 PM, "johnny" <john...@gmail.com> wrote:
Hi Shawn,
What happens if I initially with --mirror option? For example,
initially I mirrored the master branch, and now I want to switch to
the cupcake branch. What will repo do? Will it prune the projects that
not in the manifest file of master branch?
Thanks,
Johnny Xia.
On Mar 10, 9:59 am, Shawn Pearce <s...@google.com> wrote: > I think I finally have "repo init -b fo...
> This needshttps://review.source.android.com/9112, which is not-yet-tagged,
> so you need to actually do: > > repo init -u > git://android.git.kernel.org/platform/manifest....
Yes. What version of repo do you have? It was added in 1.6.3:
$ repo version
repo version v1.6.3
(from git://android.git.kernel.org/tools/repo.git)
git version 1.6.2.1.337.g6270ba
Python 2.4.3 (#2, Jul 31 2008, 21:56:52)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]
No. repo init -b still requires a branch head.
No, it must be 1.6.2. The _SyncManifest call was on line 124 in
1.6.2, and this bug existed in 1.6.2. In 1.6.3 I fixed the bug, and
this line moved to be on 202.
Is your repo wrapper script pulling from a stale client repository?
I just initialized a brand new mirror, got repo 1.6.3, and the second
"repo init -b cupcake" works fine under it.