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

Re: idea: a revision keyword expanded only at 'svn export' time

From: <pwd_at_mdtsoft.com>
Date: 2002-12-03 12:53:35 CET

perhaps the way to deal with this is a scirpt (I would choose perl) that
will return the current checked out value, this way the when this comes
up we just say run this script and it will give you what you want.
This will keep the complexities out of the code while providing the
desired feature.

By making it pure perl (or python, I don't know python) we make it portable
to windows (and Mac and VMS and whatever) without having to have grep
et. al.

On 2 Dec, Karl Fogel wrote:
> John Barstow <John_Barstow@gfsg.co.nz> writes:
>> Assuming you have grep on your platform (which most Win32 users don't).
>> Assuming you know to run 'svn status -v' (which a newbie usually wouldn't).
>> People don't read documentation (aside from tutorials) until they run into a
>> problem.
>>
>> Which explains why so many of the unintiated have asked for this trivial
>> feature.
>
> If it were truly trivial, sure. But adding a new keyword -- and one
> that behaves slightly differently than the keywords we already have --
> is not trivial. It adds new complexities to code paths in libsvn_wc.
> I guess what worries me is that keyword expansion has already been a
> bug source on a few occasions, so complexifying the keyword code
> doesn't seem like a good idea to me.
>
> I'm not vetoing it, just explaining why I think it's not good.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

-- 
It is MDT, Inc's policy to delete mail containing unsolicited file attachments.
Please be sure to contact the MDT staff member BEFORE sending an e-mail with
any file attachments; they will be able to arrange for the files to be received.
This email, and any files transmitted with it, is confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please advise postmaster@mdtsoft.com
<mailto:postmaster@mdtsoft.com>.
Philip W. Dalrymple III <pwd@mdtsoft.com>
MDT Software - The Change Management Company
+1 678 297 1001
Fax +1 678 297 1003
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 3 13:07:39 2002

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.