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

Re: Force commit of unchanged file

From: Phil Cairns <phil.cairns_at_gmail.com>
Date: 2006-06-20 13:22:05 CEST

Peter McNab wrote:
> Phil Cairns wrote:
>> I liked the idea of SubWCRev.exe, and tried it. I created a
>> "svnrevision-template.h" file, with this as the contents:
>> const char* SVNREVISION = "(Rev. $WCREV$)";
>> I'm looking for this file to be updated whenever I do a commit for
>> that directory. I guess I'm looking for a post-commit event. Is there
>> a way to hook into that? I'm quite prepared to write code if
>> necessary, but don't want to reproduce it if someone has already done it.
> You are perhaps closer that it looks.
> The process for me is:-
> Commit before compiling production code.
> Run SubWCRev.

Yes, this is the line that I want to have happen automagically,
preferably as part of something I *have* to do, whether it be building
or committing. I can guarantee that I'll forget at some point, and while
there are lots of things I can cope with, embarrassment ain't on the list :)

> Compile.
> Revert the lone changed file.
> The compiled code now contains the HEAD revision.
> Note. None of the auto generated files, nor the .exe are under revision
> control.

Yup, wouldn't even dream of this ...


To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Jun 20 13:22:38 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.