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

Re: [PATCH] dedicated 'svn export' editor

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-04-07 21:50:55 CEST

Ben Collins-Sussman <sussman@collab.net> writes:
 
> * it doesn't do any keyword substitution. This is a showstopper,
> and I have no idea how to get around this. At the moment, the
> only reason our update/checkout editor is able to do keyword
> substitution is because it can pull keyword values (last-author,
> last-changed-rev, etc.) out of .svn/entries. :-(

Actually, I'm completely wrong here.

It turns out that the checkout/update/export editor receives *all* the
props from RA->do_checkout(). That means both 'normal' props, 'wc'
props, and 'entry' props. I forgot that our checkout editor already
calls svn_categorize_props() to sort them, and then stuffs the 'entry'
props into the entries file.

So the export editor simply needs to be on the lookout for the
svn:wc:entry: props it receives, and can peform keyword substitution
just easily as svn:eol-style translation. No need to worry.

I'll fix this up later.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 7 21:52:25 2003

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

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