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

Re: How to get Tortoise to update author,Revision,Date, Source

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-11 03:46:14 CEST

On 8/10/07, blewis999 <robert.lewis@shaw.ca> wrote:
> Robert Roessler wrote:
> > blewis999 wrote:
> >> I am new to Tortoise SVN and used to use Tortoise CVS although I had a
> >> very minimal grasp of that system. I used to be able to have Tortoise
> >> CVS update the following into the files if there were certain
> >> delimiters in the code. Is there a way to do this in SVN. I have
> >> looked through the documentation but can't see the entries.
> >>
> >> This really is an awesome program; it has saved me many times.
> >>
> >> $Author: Copyright iMn MicroControl Ltd. - Robert Lewis$
> >> $Revision: 1.23 $
> >> $Date: 2007/06/20 03:11:52 $
> >> $Source:
> >> G:/cvsrepo-may-30-2005/FreescaleDemo/Common/lcdDispFcns.c,v $
> >
> > Sure, check out Chapter 3 of the SVN book: "Keyword Substitution".
> >
> > Robert Roessler
> > robertr@rftp.com
> > http://www.rftp.com
> Thank you; I found this but it seems that there is another program to
> run from a command line called SubWCRev.exe
>
> This would be a lot of work for me as there are dozens of files in the
> build. Is there anyway to get SVN to do this automatically for each
> file when they are committed? It would be very problematic for me to
> try and create multiple versions of the file (source and destination)
> for all the changed files and get it right. Plus it would mess up the
> build system because I would have to have different names and change
> them in the build each time.

Keyword expansion is done by the client upon checkout/update, not when
committing.

You can set properties on files automatically when they're added via
auto-props, but that doesn't help with files already in the
repository. You can run svn_apply_autoprops.py to apply the auto-props
you have in your config file to a working copy, however, to get caught
up. Or, you can just find all the files that need a particular set of
properties, then right-click and choose TSVN->Properties and set the
properties on all those files at once.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Aug 11 03:44:17 2007

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.