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

Re: Client for lock & edit in one step?

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2007-07-27 14:22:45 CEST

On Fri, 27 Jul 2007 14:04:00 +0200, <Jan.Lessner@bertelsmann.de>

>We are currently moving over from Visual SourceSafe to Subversion and
>are looking for a convenient client for all the documents which are
>not source code - e.g. specification documents in Microsoft Word, UML
>models in other strange formats, images etc. This is all stuff which
>can not be merges and therefore must be locked before editing.
>However, fetching the current version, locking it, and then start
>editing is a rather inconvenient work when being done in three
>separate steps.

I would think giving everyone a simple bat file would do the trick;

@echo off
svn update "%1"
svn lock "%1" -m "Locking for update"
start "%1"

Will get the latest version of the file, lock it, and then launch it.



This post represents the views of the author and does
not necessarily accurately represent the views of BT.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 27 14:21:40 2007

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