[darcs-users] Re: darcs diff

Jason Dagit dagit at cs.oregonstate.edu
Fri Feb 18 17:49:50 UTC 2005


I'd like to see it optimized.  I can no longer diff one of my
repositiories because I run out of memory (I've already tried to fix
it with +RTS, but this seems not to be a stack size issue).

Jason

Dmitriy Morozov <darcs at foxcub.org> writes:

> Doesn't this seem like something that should be optimized (as a common 
> use case)?
>
> Dmitriy
>
> On Friday 18 February 2005 04:29 am, Tomasz Zielonka wrote:
>> On Fri, Feb 18, 2005 at 11:29:07AM +0200, Jani Monoses wrote:
>> > Dmitriy Morozov wrote:
>> > >Out of personal curiosity: why does "darcs diff filename" take
>> > > so much longer than "diff filename _darcs/current/filename"?
>> > > diff outputs the result immediately, darcs diff often spins the
>> > > harddrive for quite a few seconds (more than 10?). I'm trying
>> > > to understand what is it that darcs needs to do in addition to
>> > > just running diff?
>> >
>> > darcs diff diffs the whole tree, then only presents the relevant
>> > info from it.
>>
>> Also, I am not sure it has a special case for the situation, when
>> you diff between current(pristine?) and working versions.
>>
>> Best regards,
>> Tomasz
>
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://www.abridgegame.org/mailman/listinfo/darcs-users




More information about the darcs-users mailing list