cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: [lazyweb] SVN checkout without keyword expansion?
Date Wed, 03 Nov 2004 09:24:23 GMT
On Wed, 3 Nov 2004, Sylvain Wallez wrote:

> Hi all,
>
> A lazyweb question about SVN: is there a way to perform a checkout without 
> expanding the $Id$ keyword? I couldn't find one by googling around, and that 
> would be so useful for merging branches where many files only differ by their 
> revision number.
>
> Currently I used a quickly hacked script that does the job, but that would be 
> much cleaner to have it handled directly by svn.

I usually compare different branches by use of the following 
gnu diff command in a script:

diff -rubBd -x CVS -x target -x .svn -x .cvsignore -x .settings \
         -x .project \
         --ignore-matching-lines=\\\$Author: \
         --ignore-matching-lines=\\\$Date: \
         --ignore-matching-lines=\\\$Header: \
         --ignore-matching-lines=\\\$Id: \
         --ignore-matching-lines=\\\$Locker: \
         --ignore-matching-lines=\\\$Name: \
         --ignore-matching-lines=\\\$RCSfile: \
         --ignore-matching-lines=\\\$Revision: \
         --ignore-matching-lines=\\\$Source: \
         --ignore-matching-lines=\\\$State: \
         --ignore-matching-lines=\\\$Version: $* $TARGET $SOURCE

It is suitable for CVS as well as for SVN. Hope this helps.

-- 
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com

Mime
View raw message