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

Re: Subversion Keywords Substitution Question

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 23 Jan 2012 14:05:47 -0500

On Mon, Jan 23, 2012 at 12:57, Dave Huang <khym_at_azeotrope.org> wrote:
> On Jan 23, 2012, at 11:41 AM, Simon Large wrote:
>
>> On 23 January 2012 17:07, Rajesh Shah <rshah_at_affiniongroup.com> wrote:
>>> We are using subversion keywords in our source code as below:
>>> -- $URL$
>>> -- $Rev$
>>> -- $Date$
>>> -- $Author$
>>>
>>> When checkout the file using Tortoise SVN, I see keyword substitution happening correctly.
>>>
>>> But when I access the same files directly using a Browser like Firefox(http) I don't see the substitution happening. Is this expected behavior ?
>>
>> You would need to ask this question on the ViewVC mailing list, which
>> is what handles the online viewing through a web browser.
>
> Or maybe he's referring to accessing the SVN repo via http? E.g., http://svn.apache.org/repos/asf/subversion/trunk/README
>
> If I remember correctly, SVN keywords are stored unexpanded in the repository, and are expanded by the client during checkout and update. So yes, it is expected behavior for the keywords to be unexpanded if you get them directly from the repo (note the "$LastChangedDate$" in the README mentioned above).

You remember correctly.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2910601

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-01-23 20:06:40 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

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