You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Branko Čibej <br...@xbc.nu> on 2003/08/01 04:28:32 UTC
Re: A real world user's impression of Subversion
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.
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: A real world user's impression of Subversion
Posted by Blair Zajac <bl...@orcaware.com>.
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 <bl...@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