[darcs-users] query manifest --directories default

Eric Y. Kow eric.kow at gmail.com
Wed Jul 18 19:54:49 UTC 2007


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20070718/2aa0d81b/attachment.pgp 


More information about the darcs-users mailing list