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

Re: FR: Lock message on Commit

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 3 Mar 2009 20:21:56 -0500

On Tue, Mar 3, 2009 at 13:22, Vincent Evans <tigris_at_375172.com> wrote:
> I have a couple of non-programming users who utilize TortoiseSVN with their Excel spreadsheets. I instructed them to utilize "Get Lock" religiously. Recently they asked for something that i thought makes total sense, i am posting it here.
>

Enforcing svn:needs-lock on these files would help them to remember to
use Get Lock.

> Their words: "When i get lock, i enter a message detailing what i am doing, so that others know why i took out the lock. How come when i go to Commit i can't see my own lock message anywhere? Many times i can't remember exactly what i wrote when i took out the lock - and it would serve as a great "default" commit message anyway - i could just edit it and go ahead with comitting."

The lock message is "why am I locking?" and is connected to the
individual file. It's transient data, only meant to be seen while the
file is locked.

The commit message is "what did I change?" and is tied to ALL files
being committed in that transaction. Often, you will have multiple
files committed - which lock message do you propose be used?

Check for Modifications should have a way for you to see the lock message.

> P.S: From personal view: Ability to switch TortoiseSVN into "Check Out - Modify - Check In" mode for a specific folder in a repository where binary resources are kept would be most appreciated too. It would save lots of training and avoid so many issues. Copy - Modify - Merge simply doesn't work with non-mergeable resources. I am surpised that this isn't obvious after so many years.

Please use the correct terminology. You're saying Check Out/In but I
think you really mean Lock/Unlock.

Enforce svn:needs-lock on the required directory(ies). The Subversion
manual explains why the system works the way it does.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-04 02:22:07 CET

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