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

RE: Re: How can I get RCSfile keyword functionality?

From: Mike Newsome <Mike.Newsome_at_hitekp.com>
Date: 2007-07-10 09:25:58 CEST

Hi All

I would also be interested in a 'reduced' keyword as in $FILE$. However
it would be of most use to expand (somehow) to be only the file name -
all the other keywords expand with the keyword markers as well ($Rev:
131 $ for example when often only the numeric part is required. I
understand this could be difficult for the reverse substitution prior to
commit but you lot are clever guys so?

Regards Mike Newsome

-----Original Message-----
From: Greg Thomas [mailto:thomasgd@omc.bt.co.uk]
Sent: 09 July 2007 15:48
To: Andy Levy
Cc: Ken Roser; users@subversion.tigris.org
Subject: Re: How can I get RCSfile keyword functionality?

On Mon, 9 Jul 2007 10:33:53 -0400, "Andy Levy" <andy.levy@gmail.com>
wrote:

>On 7/9/07, Ken Roser <svn@resork.sent.com> wrote:
>> How can I implement a keyword in subversion that behaves identically
as
>> $RCSfile$ did in CVS. The existing keywords such as $URL$ and $Id$
do
>> not meet my needs. All I want is just the file name. Can this be
done
>> with subversion?
>
>Subversion doesn't store versioned items as individual files (it's all
>stored as a database), so such a keyword would be rather pointless
>(there's nothing to populate into it).

As I read it, instead of $URL$ resolving to
http://wherever/myproject/trunk/foo.c the OP wanted $FILE$ to resolve
to just foo.c

Quite possible, but AFAIK not currently implemented.

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
CONFIDENTIAL AND PRIVILEGED:  This E-mail and any files transmitted with it are confidential and are solely for the use of the individual or entity to whom they are addressed.   If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. HiTek Power takes all possible action to prevent the spread of electronic viruses, but takes no responsibility for any messages, which may somehow contain such a virus. If you have received this e-mail in error, please immediately notify the IT administrator by telephone at:
UK: +44 1903 712400  
US: +1 619 258 7700 
DE: +49 6074 692850
HiTekPower Ltd.: Company registration number:	908344 Place of registration: England & Wales, Registered office: Unit 10 Hawthorn Road, Littlehampton, West Sussex, BN17 7LT.
 VAT number: GB 651 4444 49
HiTekPower GmbH: Geschäftsführer: Dipl.-Ing. Reinhold Zeizinger, Carey J. J. Austin.  Handelsregister: Offenbach HRB 21414.  
USt-IdNr.: DE113528216
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 10 09:25:45 2007

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.