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

Re: how to add $Id$ automatically

From: p karthik <karthik1212_at_gmail.com>
Date: 2007-11-20 09:02:57 CET

Hi Guys,

I was really looking for this stuff for quite some time.
I have a query regarding how to add $Id$ into a file (which is in
Subversion) without actually having a commit.

Here I would like to mention our requirement.

We have developed a deployment process which uses the Subversion revision
number in each file.
But we don't have the revision numbers in most of the files which are
existing in our Subversion.
So now we would like to add $Id$ in each of the files so that when ever a
commit is done we get the revision number and other information.
But in order to do this we need to modify each file in the workarea and then
perform a commit, which we are not intending to do as the source code is in
testing phase which we only want to change to do some bug fixes.

My query is, can we add this $Id$ through any pre/post commit hook script?
Please let me know in case you need any further information.

Regards,
Karthik.

On 11/19/07, Greg Thomas <thomasgd@omc.bt.co.uk> wrote:
>
> On Mon, 19 Nov 2007 15:10:03 +0000, "Soo-Hyun Choi"
> <s.choi@hackers.org.uk> wrote:
>
> >> Noting other comments regarding caution about applying auto props to
> >> all files, but that should read
> >>
> >> * = svn:keywords=Author Date Id Rev URL
> >>
> >> (i.e. no quotes).
> >
> >Ah! Are there any quotation mark for this settings?
>
> No.
>
> 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
>
>
Received on Tue Nov 20 09:03:32 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.