[44460] trunk/base/src/port1.0/portfetch.tcl

Joshua Root jmr at macports.org
Mon Jan 5 00:57:27 PST 2009


Ryan Schmidt wrote:
> 
> On Jan 5, 2009, at 01:50, Joshua Root wrote:
> 
>> Ryan Schmidt wrote:
>>
>>> On Dec 28, 2008, at 19:48, jmr at macports.org wrote:
>>>
>>>> Revision: 44460
>>>>           http://trac.macports.org/changeset/44460
>>>> Author:   jmr at macports.org
>>>> Date:     2008-12-28 17:48:28 -0800 (Sun, 28 Dec 2008)
>>>> Log Message:
>>>> -----------
>>>> portfetch: use export rather than checkout as the default cvs and svn
>>>> fetch method, since checkouts aren't persistent anyway.
>>>
>>> Was there really any advantage, other than disk space savings during
>>> build, of changing this?
>>
>> Mainly it avoids inadvertent installation of CVS or .svn directories.
> 
> That's a good point.
> 
>> It also saves a little bandwidth.
> 
> Hmm. I thought Subversion pulled the same information over the wire,
> regardless of whether it's an export or a checkout, and that where they
> differ is just in where that information then gets written to disk.

I admit I haven't actually measured how much each downloads, but export
definitely takes less time than checkout.

- Josh


More information about the macports-dev mailing list