[darcs-devel] darcs patch: Rewrite disambiguate_commands. (and 5 more)

Eric Kow eric.kow at loria.fr
Mon Jul 16 14:09:44 PDT 2007


Patches for issue127 and issue297.

 Note that the hidden commands and command stub stuff has been amended in this
version of the patch.  Cleaned up implementation.

Sun Jul 15 22:01:19 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Rewrite disambiguate_commands.
  
  This should make it more explicit what is going on.

Sun Jul 15 22:01:40 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Refactor parsing of command line arguments.

Sun Jul 15 22:32:56 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Distinguish between strict and permissive disambiguation (regression).
  
  Permissive disambiguation lets you handle the case where you supply a
  supercommand and a flag (i.e. not a subcommand).

Mon Jul 16 22:29:44 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Implement command stubs 'rm', 'unadd', 'move' (issue127).
  
  These hidden commands are either stubs (they print some text and quit) or
  aliases (they do the same thing as some other command).

Mon Jul 16 22:41:07 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Implement hidden commands.
  
  This makes it possible to have command stubs or aliases without cluttering
  the usage info.

Mon Jul 16 23:06:31 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Allow --list-options even if command cannot be run (issue297).
  
  If the command cannot be run, just print the possible flags, not the file args.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 114117 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070716/7aa4c133/attachment-0001.bin


More information about the darcs-devel mailing list