devgrapher / git-repo

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

sync other repositories during a bisect. #143

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In order to bisect for regression we need to look at changes of other 
repositories at the same time.  Git commit time is not a reliable source of 
information, but in average people tend to have not-so-bad clocks.

The proposal of this bug is to add a way to synchronize other repository to the 
checked-out commit of one repository, such as one will do a bisect on one 
repository and synchronized other repository at the "same" time.

What I am suggesting is something like:

$ ./repo sync --repo-data=bisect-repo /bisect-repo

where we synchronize all repositories except bisect-repo ( /bisect-repo ) on 
the commit time of the checked out commit of bisect-repo ( 
--repo-date=bisect-repo ).  

Omitting the excluded repository cause the bisect-repo to be updated too, which 
would be fine if a linear commit time is kept on the repositories, but might 
cause a different version to be checked out otherwise.

Details and patches here: https://bugzilla.mozilla.org/show_bug.cgi?id=884886
Fork with patches: https://github.com/nbp/git-repo

Original issue reported on code.google.com by nicolas....@gmail.com on 1 Jul 2013 at 10:32