[darcs-users] Re: darcs diff

Steven E. Harris seh at panix.com
Fri Feb 18 18:05:07 UTC 2005


Jani Monoses <jani at iv.ro> writes:

> darcs diff diffs the whole tree, then only presents the relevant
> info from it.

Even when only a single file is specified as an argument to diff?
Wow, that's a lot of spurious IO.

I just tested "darcs diff" against the darcs source repository. I
added a single space to WhatsNew.lhs. Running

  darcs diff -u WhatsNew.lhs

takes about three seconds and grinds the hard disk. Is there supposed
to be a more economical command to ask, "What have I done to my
working copy of a particular file?" Well, I do observe that

  darcs whatsnew WhatsNew.lhs

only takes about a quarter second.

-- 
Steven E. Harris





More information about the darcs-users mailing list