On Thu, Jul 28, 2005 at 01:40:45AM -0300, Alberto Bertogli wrote:
> On Wed, Jul 27, 2005 at 07:41:39PM +0200, VMiklos wrote:
> > 1) (maybe you already mentioned) the ability to display not only the 
> > diffs of older version, but the full content of a file
> 
> I thought of that, and I think it'd be nice, but honestly I don't know how
> to do that inside darcs (without making _ugly_ stuff with patches by
> hand). Is it even possible? Maybe with some option to annotate?

It's slow, but

darcs annotate --xml-output filename

Ideally you'd use

darcs annotate --xml-output --creator-hash=HASH original_filename

to disambiguate the situation where there have been multiple files that had
the same name at different times in the history.

These will give you (once you take the trouble of parsing the xml) both the
content of a file at any given time, and the information about when each
line was added or removed (if it was removed in a later patch).  See for
example (using annotate):

http://abridgegame.org/cgi-bin/darcs.cgi/darcs/cgi/README.in?c=annotate&p=20040717172213-998a4-fc091e3d2a13fe3911699d11bca77c3bcd69fc57.gz&ch=20040610101926-53a90-25ee3933a9f10ed5ed78a2e8a79e5a93267790f9.gz&o=./cgi/README
-- 
David Roundy
http://www.darcs.net

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to