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

Re: Atomicity issue on co/up?

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-12-15 22:23:54 CET

On Wed, 15 Dec 2004, Stefan wrote:

> So I suggest that the CL client would do something similar. Or even
> better, create an svn_client_update2() which takes a filelist instead of
> just one file as the first parameter. Because that way the connection to
> the repository could be reused.
>
I think most client commands should take a targets array instead of a
single target. But we have to consider the case where the targets are in
different repositories or working copies.

For example, the new svn_client_lock (on the locking branch) takes a
single target (at the moment). I did it that way for consistency, but the
problem is that if you lock 10 files, it will open/lock the WC 10 times
and open ten RA sessions. Not very efficient.

Don't know what others think.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 15 22:24:03 2004

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.