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

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

From: Ron Wilson <ronw.mrmx_at_gmail.com>
Date: Thu, 11 Nov 2010 11:50:36 -0500

On Thu, Nov 11, 2010 at 8:25 AM, Richard M Willis
<RichardW_at_pulsar-pm.com> wrote:
> I am not talking of a file "for which NO changes should be committed". I am talking of a file which has changed byte-wise, but not content-wise. If the file *has* changed (content-wise), then I want to check it in.

As Andy suggested, try setting "svn:needs-lock" on these files. then
only lock the file(s) when you are changing the actual content.

> How easy is to to write plugins for SVN or TSVN ?
(or any SCM) is to retrofit SCM onto something that doesn't fit very well.

There are no plug-ins per se, but there are client side hooks for
TSVN, and SVN commands can be embedded in BAT (or other) scripts.

> The point is I don't want (T)SVN just to deliver me a version-controled tree; I want it to deliver me a project. Perhaps I should develop some front end to svn to make it work this way.

Not to sound sarcastic, but you get from any SCM what you put in it.
However, hook scripts can be used to help achieve your objective. At
my clients who use TSVN, hook scripts are often used to copy versioned
template files to local unversioned files - in some cases, even
merging template changes into the local files so that local changes
are not lost.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-11 17:50:44 CET

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