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

Re: Are there any type of Report that can list uncommitted checkouts?

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-11-09 19:01:46 CET

On Nov 9, 2006, at 06:09, Leon van Heerden wrote:

> We would like to know if there is a native facility to see which
> users has checkout a project and has not committed the project yet.
>
> Would i have to write some pre-checkout hook facility to log a
> check out and a post-Commit hook to update the checkouts?
>
> I hope that someone out there has done this before.

I don't think the request makes sense. Not everyone who checks out a
working copy has the intention of checking back in changes. Maybe
they just want to look at the code. Maybe they thought they were
going to make changes but then changed their minds.

In any event, a Subversion server does not keep track of checkouts
anywhere, and there isn't even a pre-checkout hook [1]. Even if it
did, there would be no way to know where commits come from. If user A
checks out two working copies and then commits once, there is no way
for you to know which working copy the commit came from.

It is the responsibility of each repository user to know whether they
have uncommitted changes, and to commit them when they feel the
changes are finished being developed and are ready to be shared.

[1] Although I have implemented one, if you're using Apache to serve
the repository:

http://www.ryandesign.com/svnhookdispatcher/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 9 19:03:26 2006

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.