monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] [PATCH] Accept "mtn di" as "mtn diff"


From: Sebastian
Subject: Re: [Monotone-devel] [PATCH] Accept "mtn di" as "mtn diff"
Date: Wed, 24 Oct 2007 17:35:22 +0200
User-agent: Thunderbird 2.0.0.6 (X11/20070728)

> $ mtn di
> mtn: misuse: 'di' is ambiguous; possible completions are:
> mtn: misuse: informative diff
> mtn: misuse: review disapprove
> $ 
I like this behaviour. This seems natural to me, since it's impression
is like emacs or shell tabcompletions.
I also like git's aproach providing commands like git-diff making tab
complitition work. One could implement those easily as shell aliases
too. So why hardcode 'mtn di'?

Don't know the code of monotone, but it seems like the current solution
makes sense from a programmers point of view. For me as a simple user it
would unsettle me having some shortcuts hardcoded, some not. The current
solution is simple. Not much to learn about that.

One more difference: the current behaviour triggers an error when using
'mtn di'. And (i.e. in shell-scripts) it could be destructive (or, in
this case, annoying) to execute 'mtn diff' and proceed, where 'mtn
disapprove' was meant (ok, who uses shortcuts in scripts?).


Regards
    Sebastian

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]