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

Re: Re: Help with checkin hook

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Wed, 13 Aug 2008 21:01:45 +0200

On Wed, Aug 13, 2008 at 8:57 PM, Michael Maxwell <mmaxwell_at_casl.umd.edu> wrote:
>> On Wed, Aug 13, 2008 at 2:05 PM, Michael Maxwell
>> <mmaxwell_at_casl.umd.edu> wrote:
>> >> The problem with keyword expansion comes when you do diffs and
>> merges.
>> >
>> > Since svn has its own built-in diff, why can't it do a diff (and merge) with
>> unexpanded keywords?
>>
>> For the same reason why CVS and RCS -- which both by expand keywords
>> by default-- can't ignore the differences between expanded keywords.
>
> I don't understand: CVS and RCS don't have their own built-in diff programs; svn does. It could therefore dump the two versions of some file that it's comparing to some place in /tmp or wherever (as I would guess it already does) with the *unexpanded* keywords, and run its diff over those versions.

svn already unexpands keywords, but only if you told it to expand them
in the first place.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-13 21:02:09 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.