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

Find out who has a working copy

From: Peter Falson <pbtbl123_at_gmail.com>
Date: Thu, 29 Oct 2009 10:14:00 -0700 (PDT)

I'm guessing this has been covered to death but I didn't see this viewpoint discussed around the p4 edit methodology...

In Perforce, if you do a p4 edit, other users can find out who has the file opened for edit.

Is there a way to find out who has a checked out/working copy of a project?

Background
==========
I'm trying to set up subversion on a unix box with multiple programmers all working in the same source/run-time environment.

At this point I'm thinking of having each programmer check out the programs they are working on into their home dir (compile into their own bin/lib for testing) then on checkin/commit remove the local file (rm <file>?), do an svn update on the shared (global) area to update the affected program(s) (and rebuild those programs into the global bin/lib).

(feel free to comment on this methodology, it's not set in stone...yet)

So what I'm looking for is a way for a user to be notified when they check out a program that someone else also has checked out as a working copy.

I guess worst case scenario is I can warn the users if it's changed (committed) any time they either save or try to commit (although on the latter I'd probably utilise svn's information that a merge will be involved).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2412737
Received on 2009-10-30 01:58:32 CET

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

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