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

RE: Automate the version number

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2007-05-10 14:00:39 CEST

Hi Surdu Nicolae Marcel,

You wrote:
> Uooou! Niceee! I really didn't think is possible from the
> client! Thanks a loot!
> I still have a question though: It's possible to write the revision
> incremented: like $WCREV$+1 or something, cause I want to make when
> you
> click Commit, to
> first call this app to write the rev in a file in the
> repository, then call the
> actual commit, and so, if i just put $WCREV$, the revision
> will be always one
> behind.

Why would you want to do this? There's absolutely no need to store the
revision of a file manually inside the file. The $Rev$ keyword takes care of
this. It is expanded to the correct value when the file is checked out.
- Read the subversion manual on keywords!!!
- Read the TortoiseSVN manual on how to set keywords on files!!!
- Subwcrev is a tool that you would normally only use at build/compile time.

- Lübbe

  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu May 10 14:00:49 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.