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

Re: Accessing %VERSION% parameter in update hook batch script

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: Thu, 6 Mar 2008 07:41:58 +0100

Hi Paul,

Please post the command line you've entered in the settings dialog.
You are supposed to place the %xxx% placeholders in that command line.
So if you enter

pre-update.bat 1 2 3 %PATH%

Then the fourth parameter in the .bat will contain the path.

By the way: there is no way the pre-commit will know the new revision.
There is no guarantee that the commit will succeed, so no new revision
number can be known.

HTH

-- 
Regards,
Jean-Marc
----------------
    ___
   // \\  @@     "De Chelonian Mobile"
  / \_/ \/._)    TortoiseSVN
 <\_/_\_/ /      The coolest Interface to (Sub)Version Control
  /_/   \_\      Check out http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-03-06 07:42:07 CET

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