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

RE: Feature Question

From: <Chris.Stratmann_at_blum.com>
Date: 2006-05-19 12:19:48 CEST

Ya I just found that out with the emails that were sent yesterday. It
seems that is what I am looking for. I opened the pre-commit.tmpl on my
windows operating system and I am looking for a place where I can send in
the names of the files that are trying to get committed. I would like
have a program and its parameters called pre-commit.exe [FILEPATHandNAME]
[REVISIONNUMBER] and then my program can change the version number on the
[FILEPATHandNAME] if it is an executable. So is the following possible?

1. Commit Test.exe into a server where the repository is stored.
2. pre-commit.exe gets all the files and checks to see if there is an
executable that needs changing.
        a. If a .exe is found then change the Test.exe's revision number
just before it is committed. (I am unsure about this because where is the
.exe file getting changed. Is the path that comes into my program going
to be a path to Test.exe on the clients computer or does a copy of
Test.exe get sent to the server and the path lead me there?)
3. After updating the exe allow the commit to proceed.

I also read the documentation in the pre-commit.tmpl and it mentions
something about "svnlook". I am unable to find any examples using this
utility or any documentation on it?

Thanks for all the help on this.

Chris

 Lübbe Onken <l.onken@rac.de>
 05/19/2006 06:01 AM
Please respond to
users@tortoisesvn.tigris.org

To
"'users@tortoisesvn.tigris.org'" <users@tortoisesvn.tigris.org>
cc

Subject
RE: Feature Question

 
Chris,

> Thanks for the response. Is there anyway I can get SVN to run commands
or
run an executable just before a check-in?

The subversion pre-commit hook is your friend. It runs on the server and
can
do a lot of nice stuff for you.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri May 19 12:20:27 2006

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.