repo init -b android-4.0.3_r1
repo sync
repo init -b android-4.0.4_r1.1
repo sync
repo forall -c "git diff android-4.0.3_r1..android-4.0.4_r1.1"
> I want to see the differences between `android-4.0.3_r1` and
> `android-4.0.4_r1.1`. Now I know I can do this under /frameworks/base,
> where I can check out both branches in `git`. But how can I do this
> using `repo`?
>
> Am I supposed to do the following:
>
> repo init -b android-4.0.3_r1
> > repo sync
> > repo init -b android-4.0.4_r1.1
> > repo sync
> > repo forall -c "git diff android-4.0.3_r1..android-4.0.4_r1.1"
Git fetches the history of all branches right away, so there's no point
in syncing for each manifest branch. Once you've synced an Android
workspace the last command is fine.
However, if the set of gits available in the two releases you're
comparing is different (i.e. gits have been added or removed) you'll
have to do something a bit more complicated to get the results you
want (whatever that may be -- under some circumstances it might be
alright to just ignore the fact that a git only occurs in one of
the branches).
[...]
--
Magnus B�ck
ba...@google.com
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en