using rsync to create local repository
PAUL GILLIAM
pgilliam@us.ibm.com
Thu Jan 26 19:07:00 GMT 2006
Hi,
In order to use Janus Johnson's cool binary patch finder, I need to
create a local copy of GDB's cvs repository.
Her patch finder does a binary search through the patches find the one
that breaks or fixes what you are interested in. For each patch
examined, a source tree is updated, the project is built and a test
script is run to see if whatever is broken or fixed.
Although it's possible to do this with a remote repository, the time
needed for cvs updates (not to mention the network traffic) would be
prohibitory.
For Janus' GCC testing, she uses the following command to create and
update a local copy of the cvs repository:
rsync --archive --delete --compress --progress \
--exclude '#cvs.*' --exclude 'CVSROOT/config' \
--exclude 'CVSROOT/history' --exclude 'CVSROOT/updatelog' \
rsync://gcc.gnu.org/gcc-cvs gcc-cvs
I tried a similar thing and it seemed to work:
rsync --archive --delete --compress --progress \
--exclude '#cvs.*' --exclude 'CVSROOT/config' \
--exclude 'CVSROOT/history' --exclude 'CVSROOT/updatelog' \
rsync://sources.redhat.com/gdb-cvs /home/pgilliam/gdb/gdb-cvs
But when I tried to do a checkout, I got this:
[pgilliam@dufur test]$ cvs -d /home/pgilliam/gdb/gdb-cvs/ co gdb
cvs checkout: module `naked-gdb' in modules file contains infinite loop
cvs checkout: module `naked-gdb' in modules file contains infinite loop
cvs checkout: module `naked-texinfo' in modules file contains infinite
loop
cvs checkout: module `naked-gdb' in modules file contains infinite loop
cvs checkout: module `naked-texinfo' in modules file contains infinite
loop
cvs checkout: module `naked-bfd' in modules file contains infinite loop
cvs checkout: module `naked-gdb' in modules file contains infinite loop
cvs checkout: module `naked-texinfo' in modules file contains infinite
loop
cvs checkout: module `naked-bfd' in modules file contains infinite loop
... and so on
Any ideas on what I am doing wrong?
Thanks for your help,
-=# Paul Gilliam #=-
More information about the Gdb
mailing list