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

Re: Need to check a file out, but want never to check it back in !

From: Josh Reynolds <josh.reynolds_at_eku.edu>
Date: Thu, 4 Nov 2010 13:29:21 -0400

On 11/4/2010 1:06 PM, Richard Willis wrote:
>
> I am using TortoiseSVN in my build environment, which is an ancient
> (management decision) version of Hitachi Workbench.
>
>
>
> HWB maintains a .set file which contains stuff not pertinent to the
> build and which changes whenever I do anything trivial, such as a
> resize of the editor window. So, whenever I just do nothing in
> particular, this file is always marked as "changed". I don't want to
> keep checking this file back in.
>
>
>
> 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.
>
>
>
> So, what do I do ? As far as I can see, there are four options:
>
>
>
> Give the file a property of some type that says "stored but never
> versioned". Such a mechanism doesn't seem to exist.
>
>
>
> 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.
>
>
>
> 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)
>
>
>
> 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.
>
>
>
> None of those options works. What am I doing wrong.
>
>
>
> Richard M Willis
>
>
>
>
>
>
>
>
>

I think this is another situation where the ignore-on-commit changelist
saves the day. Right click on the file in the check for modifications
window and add it to the changelist. Although you'll have to do this
for every working copy you check out, you can't make it automatically set.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2678825

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-04 18:29:36 CET

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.