[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: Sat, 7 Aug 2010 07:52:35 -0400

On Sat, Aug 7, 2010 at 4:19 AM, Stefan Sperling <stsp_at_elego.de> wrote:
> On Fri, Aug 06, 2010 at 10:16:59PM +0000, Bob 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?
>
> Not in 1.6.
>
> I've added support for a --ignore-keywords option to svn export a while back.
> This will be released in 1.7.  If you want to, you could file an issue
> requesting the same feature for 'svn cat', and we'll try to add it to
> 1.7 as well (the issue will make sure that we don't forget about it).
> See http://subversion.apache.org/issue-tracker.html
>
> Make sure to point to this thread within the mailing list
> archives from the issue, here's a link you can use:
> http://svn.haxx.se/users/archive-2010-08/0148.shtml

I'd like to lend a vote for adding this to 'svn cat'. There are
file-by-side comparison circumstances, particularly when authors have
been careless about setting "svn:keywords" correctly and submitted
source code from third party repositories, where it would be very
useful indeed. I once spent a very long term cleaning up a Linux
kernel codebase where the local maintainers had been very careless
about enabling or disabling svn:keywords, and the results in code
comparisons was nightmarish.
Received on 2010-08-07 13:53:14 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.