On Wed, Jul 18, 2007 at 01:32:07 -0400, Max Battcher wrote:
> >I'm sorry -- I don't understand this.  What's wrong with "darcs cat"?
> >My point being, does "cat" need to be a subcommand of something else?

Looking at http://bugs.darcs.net/issue141, it appears that the only
objection to darcs cat was about overloading the help space.  But if we
hide it, as Max suggests, it would be fine.

> ``darcs list file-content`` as the ``darcs help`` visible way to do it
> and ``darcs cat`` as the silent and nicely terse "hidden" shortcut.

Ok. I'll submit some patches renaming query to list and see what other
developers say.  Will likewise rename the subcommand manifest to files,
retaining manifest as a version sans directories.

> darcs list patch-content  # Another way to get darcs annotate of a
> single patch to get the dpatch
> darcs list contributors # List of patch authors

If anybody wants to work on this, it should be a fairly simple matter of
making darcs's own list_authors program (which is how we generate our
AUTHORS file) more generic and slapping a darcs command framework over
it. You can borrow code from QueryTag to see how to go about it.

-- 
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon français.

Attachment: pgpwHO9HxPemk.pgp
Description: PGP signature

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

Reply via email to