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

Re: CMS and subversion

From: Chris Jensen <cjensen_at_edex.com.au>
Date: 2005-02-28 00:28:25 CET

Daniel Patterson wrote:
> Shawn Plummer wrote:
>
>> In CMS they are used to reserving a copy in the repository for
>> editing, all this does is attach a tag to the file that such and such
>> user has reserved the file, it prevents nothing from occurring to the
>> file. They are a small group of developers and would like the ability
>> to tell when someone has last checked out, or reserved, a file and not
>> committed it yet so they could walk down the hall and talk to that
>> person should they need to make changes to that file also.
>
>
> Subversion 1.2 will have the ability to "lock" files, which will
> give them this functionality. Right now, Subversion does not
> have this ability (1.2 will probably arrive in just a few weeks).

It sounds to me like these guys don't actually need the files to be
locked, just tagged that someone is using them.

If you don't want to wait for the locking solution (or if locking is
more restrictive than you want), you could just coorporate using tags or
a property?
See the book on tagging releases, and your guys could simply tag
something they're working on, and then delete the tag when they're done.
Or alternatively, when you want to reserve a file, do something like

svn propset reserve "shawn plummer" <filename>
svn ci

If you're using something like Tortoise SVN, then properties are easy
enough to see and change by just opening the file properties in explorer.
Otherwise, from the command line try

svn -R propget reserve

which will recursively find all files/directories with that property set.

-- 
---------------------------------------------------------------------
Chris Jensen cjensen@edex.com.au
Educational Experience (Australia)
Postal Address: PO Box 860, Newcastle NSW 2300
Freecall:       1-800-025 270      International: +61-2-4923 8222
Fax:            (02) 4942 1991     International: +61-2-4942 1991
Visit our online Toy store! http://www.toysandmore.com.au/
---------------------------------------------------------------------

Received on Mon Feb 28 00:30:55 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.