On 24/10/2007, at 5:59, Richard Laager wrote:
I think it's probably muscle memory from CVS or something, but I keep
typing "mtn di" expecting a diff. Attached is a patch to allow that.
I do not think this change is appropriate. monotone already allows
shortened names of commands, and in fact 'mtn di' would work if it
didn't found multiple completions:
$ mtn di
mtn: misuse: 'di' is ambiguous; possible completions are:
mtn: misuse: informative diff
mtn: misuse: review disapprove
$
Maybe a better approach would be to allow the user to customize which
completions he prefers for a given prefix based on a lua hook?
(Of course, one'd argue that checkout already has a shortened 'co'
version, but that's not strictly a prefix of it...)
Cheers,
--
Julio M. Merino Vidal <[EMAIL PROTECTED]>
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel