ericmckean / git-repo

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

List of active projects isn't valid when manifest changes until a sync is completed #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Affected Version:
repo version v1.7.3.1

Environment:
Should be all but verified on Linux.

What steps will reproduce the problem?

I can't find an exact reproducible case for this bug but here's another that 
seems similar to me:

1. In a fresh dir, repo init -b <branch> -u <manifest>
2. repo forall -c 'echo $REPO_PROJECT' 
   -- <should return no projects>
3. repo sync build (assuming that project exists)

Now, repo forall -c 'echo $REPO_PROJECT' shows you build platform/build

What is the expected output? What do you see instead?

I expect that the list of active projects is obtained from the active manifest 
*without* having to do a sync (expensive operation, usually).

Please provide any additional information below.

If you do a repo sync, the current list of active project added shows up 
correctly.

Original issue reported on code.google.com by Sriram.R...@gmail.com on 4 Mar 2011 at 11:42