[darcs-devel] Re: optimize --relink --sibling logic backwards?
Mark Stosberg
mark at summersault.com
Fri Mar 18 09:17:41 PST 2005
On 2005-03-18, David Roundy <droundy at abridgegame.org> wrote:
> On Thu, Mar 17, 2005 at 03:41:17PM +0000, Mark Stosberg wrote:
>> Hello,
>>
>> I decided to try 'optimize --relink --sibling' on the darcs and
>> darcs-unstable repo copies that I have.
>>
>> To test it, I checked the sizes of both repos before and after I ran
>> the command.
>>
>> Afterwards, I saw a reduction of 6 megs out of 80 total, but
>> the reduction happened in the /sibling/ repo, /not/ the one I ran
>> optimize in!
>>
>> It seemed like a mistake to me that 'optimize' would alter any other
>> repo but the one it runs in.
>
> I'm not sure how you're checking the sizes, but I believe hard links are
> symmetric, so the question of which of the two repositories was reduced in
> size is academic.
I forgot that. I'm used to symlinks, where it /does/ make a difference
which copy you delete. :)
Mark
More information about the darcs-devel
mailing list