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

Re: can i svn cat without keyword expansion

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Fri, 6 Aug 2010 22:40:54 -0400

On Fri, Aug 6, 2010 at 6:16 PM, Bob <spoon.reloaded_at_gmail.com> wrote:
> Hi,
> If I do "svn cat" on a file, with the svn:keywords property set, it expands out
> SVN keywords such as $Date$, $Revision$, $Id$, etc., in the file (the ones there
> were included in the svn:keywords property anyway). Is there an option that will
> NOT do the expansion? Or is there some other way of using the svn client that
> will achieve the same thing? As I understand, the file is stored in the
> repository with keywords not expanded, and the client expands them when it
> retrieves them, so shouldn't it be trivial to have a functionality to skip this
> step?
> Thanks,

Keyword expansion is a religious argument amoung many source control
systems. One approach to disable it, temporarily, is to unset the
"svn:keywords", then revert the change. But that's tricky and begging
to make mistakes.
Received on 2010-08-07 04:41:34 CEST

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.