[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:41:41 CET

On Wed, 15 Dec 2004, Stefan wrote:

> Peter N. Lundblad wrote:
> > 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.
>
> As I mentioned: TSVN compares the repository uuids which you can get by
> doing an svn_client_status() - if the uuids match, then the targets are
> from the same repository.
>
Yes. I just wanted to mention that it will make things more complicated if
we do such a switch more generally. For the update case, you'd need to
group the targets per repository I suppose.

Thanks,
//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:41:54 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.