Re: Need to check a file out, but want never to check it back in !
From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Thu, 4 Nov 2010 17:31:59 +0000
On 4 November 2010 17:06, Richard Willis <RichardW_at_pulsar-pm.com> wrote:
I have some stupid software like that too :-(
> I could just add it to the ignore list but that means it won't get checked-out when I do a clean checkout of the project. HWB, being what it is, will simply fail to start up if this file is absent, rather than assuming some sensible defaults.
> Use a post-checkout hook to copy a "new" version of that file from some template or other. There doesn't seem to be a hook for this event.
Server-side hooks execute on the server anyway, so no good here.
> Use a client-side post-checkout hook to do the above. This seems unnecessarily complicated as it insists I specify a directory in which this is to work (why ? I want it to work in whatever directory I'm checking out to). Also, it means a separate setup step for each machine on which I'm likely to want to check-out. Also, it doesn't appear to work: it just flashes a DOS box and does nothing else (it is pointed at a .BAT file, which never gets invoked)
They have to be set up per machine for security reasons, otherwise I
> Use a custom differ to say "this file never changes". OK, so I create a minimal .exe file which always returns zero and set the Advanced diff tools to point to this exe for the file extension .set. This doesn't work: when I manually make a change to the .set file, I still get the red exclamation icon on it. Using right-click-diff on that file does indeed invoke my custom differ though.
The recommended way is to commit a template file. You could have an
-- : ___ : oo // \\ "De Chelonian Mobile" : (_,\/ \_/ \ TortoiseSVN : \ \_/_\_/> The coolest Interface to (Sub)Version Control : /_/ \_\ http://tortoisesvn.net ------------------------------------------------------ http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2678830 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].Received on 2010-11-04 18:32:06 CET
This is an archived mail posted to the TortoiseSVN Users mailing list.