[darcs-users] new version of trac-darcs plugin
David Roundy
droundy at darcs.net
Tue Aug 8 20:32:07 UTC 2006
On Tue, Aug 08, 2006 at 10:27:59PM +0200, Lele Gaifax wrote:
> Eric Y. Kow wrote:
> >1. While I am grateful to have timeline and browse source working
> > again, I do notice that clicking on ChangeSets is very very
> > slow. I understand that this isn't trac-darcs's fault, but
> > darcs annotate. But I'm also wondering: is it really neccesary to
> > use darcs annotate output to display the contents of a changeset?
>
> Eh, it's a shame that darcs does not provide a more efficient way of
> obtaining the content of a past revision of a file. Up to 0.3,
> trac-darcs did a "darcs diff -u -p some patch | patch pristine" to get
> there, slightly faster than the current approach of parsing its annotate
> output, but suffering of serious other problems...
>
> Darcs should definitely grows a "cat" command, ala "svn cat". Given that
> its annotate command is already able to produce the whole content, even
> if in a strange and difficult format, it shouldn't be very difficult for
> an haskeller to implement the simpler output. I won't say how much I'd
> like to be able to do that...
This is what the query supercommand (and the whole supercommand
infrastructure, currently only used for query manifest) is for. A
darcs query cat command would be most welcome... and not too hard.
I'm not sure if there's a wishlist bug on this, if not, you could file
one.
--
David Roundy
More information about the darcs-users
mailing list