This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
using rsync to create local repository
- From: PAUL GILLIAM <pgilliam at us dot ibm dot com>
- To: overseers at soruces dot redhat dot com, gdb at sources dot redhat dot com
- Date: Thu, 26 Jan 2006 10:56:28 -0800
- Subject: using rsync to create local repository
- Reply-to: pgilliam at us dot ibm dot com
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 #=-