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

Re: Checkout/Export without keyword substituion

From: Jeremy Pereira <jeremy.pereira_at_ntlworld.com>
Date: 2004-09-25 21:22:18 CEST

Since $Id$ is a CVS keyword too, won't CVS just replace the Subversion
specific expansion with its own expansion? (Going the other way worked
fine when I migrated from CVS to SVN).

On Sep 25, 2004, at 16:12, Peter Strempel wrote:

> Hello,
>
> is there a way to suppress keyword substituion during checkout or
> export, like the CVS -kk switch?
>
> I have a lot of files with the $Id$ keyword in the header. Those files
> have the "svn:keywords Id" property set. So when I checkout, the $Id$
> keyword is replaced. Fine, that's how it's supposed to work.
>
> However, occasionally I need to do an export without the keyword
> replacement (I need this to synch the whole code with a remote CVS
> server). With CVS I'd just do "cvs export -r HEAD myproject -kk", and
> the $Id$ stays $Id$.
>
> I currently see two approaches for this using SVN:
> * Don't use keywords at all (bad, I like, use and need them)
> * Create a branch, remove all "svn:keywords" properties from the
> branch and then export the branch (better, but sort of unelegant).
>
> Is there a better way to do this which I havn't found yet (I'm quite
> new to Subversion) ?
>
>
> Thanks,
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

--
Jeremy Pereira
http://www.jeremyp.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 25 21:22:56 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.