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

RE: user lock list

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Mon, 9 Jan 2012 15:39:19 -0500

> >>> Bob Archer <Bob.Archer_at_amsi.com> 1/6/2012 2:13 PM >>>
> > tortise SVN 1.7.
> > Is there a way to see all the files a user has locked.
> > When someone goes on vacation or long break it would be nice to see if
> > they have any file locks out there to ensure they check in files before they
> leave.
> > I know I can do it by folder level, would be nice to have a report option.
>
> I don't think so. You can use the command line to do a status to XML then parse
> the XML for locked files.
>
> Why are you locking files? Are you working with binary files?
>
> BOb
> Locking files so not have 2 programmers working on the same file unless they
> unlock it.
> Or so they know someone else if also working on a file.
>

Subversion is really designed around the copy-modify-merge paradigm rather than the lock-modify-unlock one. That's why it doesn't really have any tools or status that you are asking for. Using the lock-modify-unlock with svn is anathema.

Read this versioning models topic on the svn manual:

http://svnbook.red-bean.com/en/1.7/svn.basic.version-control-basics.html#svn.basic.vsn-models

BOb

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-01-09 21:39:32 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.