On 09/17/2010 02:37 PM, Magnus Hagander wrote:
On Fri, Sep 17, 2010 at 20:32, Tom Lane<[email protected]> wrote:
I wrote:
Something in the rsync process thinks that ignoring subdirectories
named "core" is a good idea. I'm a bit surprised nobody ever noticed
these were missing from anoncvs before ...
That's because they aren't. It's the -C switch in your rsync call
that's at fault. (And this demonstrates why comparing against checkouts
from the same CVS repo isn't an end-to-end test :-()
Yeah, I noticed that too. Re-running now.
FWIW, I got thecommand off the wiki's recommendations for how to use rsync....
This is what I have been using for a very long time:
rsync -avzH --delete --exclude-from=/home/cvsmirror/pg-exclude
anoncvs.postgresql.org::pgsql-cvs /home/cvsmirror/pg
The exclude file contains:
/sup/
/CVSROOT/loginfo*
/CVSROOT/commitinfo*
/CVSROOT/config*
/CVSROOT/passwd
/CVSROOT/history
cheers
andrew