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

Eric Kow eric.kow at loria.fr
Mon Jul 16 23:05:25 PDT 2007


The "fix easy bugs" campaign continues...

- issue113 (mark-conflicts)
- issue127 (rm/unadd/mv)
- issue297 (--list-options)
- issue396 (record -l "")
- issue73  (1/3 of it - prettyException)

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.

Tue Jul 17 00:56:35 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Rename resolve to mark-conflicts (issue113).
  
  Resolve is retained as a (hidden) alias.

Tue Jul 17 01:00:13 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Tweak padding in usage_helper (mark-conflicts needs an extra space).

Tue Jul 17 07:06:13 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Use Control.Exception.catch in Darcs.Utils
  
  This affects helper functions like catchall and clarify_errors.

Tue Jul 17 07:07:32 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Use prettyException in clarify_errors (issue73).
  
  This solves one of three bugs in issue73, namely that we blame the user
  for darcs's own errors.

Tue Jul 17 07:16:31 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Always use permissive disambiguation of commands.

Tue Jul 17 07:43:19 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Filter out empty filenames (issue396).

Tue Jul 17 07:44:31 CEST 2007  Eric Kow <eric.kow at loria.fr>
  * Add test for issue396.

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


More information about the darcs-devel mailing list