[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Lack of $Id$ support - FAQ

From: Klaus Rennecke <kre_at_tigris.org>
Date: 2004-07-19 16:21:40 CEST

pwc@u.washington.edu wrote:
> [...]
> Since then I have seen a couple of other
> questions relating to how-to do other
> CVS features when the behavior is
> different ( for good reason or not )
> than it is in Subversion
> It might be useful to add this type of info to the FAQ
> (Features that work differently or don't work)
> [...]

Have you read the Chapter "Subversion for CVS Users" in the Subversion
book? If not, see http://svnbook.red-bean.com/svnbook/apa.html

> [...]
> I have over a thousand files in which we have
> been using ID when we need to verify that the
> user has a correct version. The need to do a
> propset for so many files is onerous
> [...]

What is wrong with something like

$ find . \( -type d -a -name .svn -a -prune \) \
        -o \( -type f -a -print0 \) | \
        xargs -0 svn propset svn:keywords Id

in a working copy? Takes a few seconds for the 1108 files in the current
subversion source tree. Combine with -a -name \*.[ch] or similar in the
second parenthesized expression to limit to specific file types.

See find(1L), xargs(1L).

> This is a quality product that it is working almost
> trouble free. I thought it was a completely compatible
> replacment for CVS and that is not the case.

I am very glad it isn't. There wouldn't be much point using it if it
were "completely compatible".


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 19 16:22:27 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.