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

Re: libsvn_client checkout and multiple targets

From: <peter.westlake_at_arm.com>
Date: 2001-08-24 15:59:09 CEST

On 2001-08-24 14:34:55 Ben Collins-Sussman wrote:
><peter.westlake@arm.com> writes:
>
>> Furthermore, with separate checkouts in a loop there is scope
>> for someone to check in a change in between. The projects won't
>> have the same revision number.
>
>Actually, it looks like that's exactly what Bill is trying to avoid in
>his patch. Instead of fetching the "latest" revision of each project
>in a loop, he converts apr_time_now() into a revision number, and then
>sticks to that particular tree throughout the loop.

Yes, it works as longs as you're still in the same invocation of
the client, with all the projects on the one command line. But
Kevin suggested:

> for p in $projects; do
> cvs co -d foo/$p $projects
> # perform your mungining
> done
>
> Then you get perfectly predictable behaviour regardless of the number of
> projects.

- where the client is called once for each project, undoing Bill's good
works.

Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:37 2006

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.