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

Re: A real world user's impression of Subversion

From: Blair Zajac <blair_at_orcaware.com>
Date: 2003-08-01 07:44:47 CEST

Branko ?ibej wrote:
>
> Blair Zajac wrote:
>
> >Blair Zajac wrote:
> >
> >
> >>Arthur Bergman wrote:
> >>
> >>
> >>>Yes, but I need to tag the imports, becomes kind of hard to the merge
> >>>otherwise? Why does svn_load_dirs need to checkout all the tags?
> >>>
> >>>
> >>It doesn't need to check out everything. I'll make a change that
> >>only checks out the specified directory being imported and the one
> >>directory that was tagged to run a consistency check.
> >>
> >>
> >
> >Turns out there is a reason to check out the top level URL supplied
> >to svn_load_dirs. It checks out the top level directory so the
> >script can then check if any directories given to svn_load_dirs on
> >the command line need to be created.
> >
> Wouldn't "svn ls -v URL" be a better choice here? There's no need to do
> a checkout if you just want to see if a particular directory exists. If
> that's not enough, "svn co -N URL" would work these days, too.

The latest version of the script runs "svn log -r HEAD" on the directory
in question. It could probably be made smarter, but this isn't the
slow part of the import process.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 1 07:45:41 2003

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.