bzr svn propedit equivalent
Jari Aalto
jari.aalto at cante.net
Mon Mar 5 12:17:25 GMT 2007
Kent Gibson <warthog618 at gmail.com> writes:
> To me that sounds more like an argument for shareable aliases or tab
> completion, not for builtin aliases.
Again, those "tab completions" need to be installed
separately. Shareable aliases too. Keep in mind that The "su" may have
nothing to do with your account.
>> This will not help scripts and error checking. It is better to require
>>
>> bzr config get --all
>>
>> And with
>>
>> bzr config get
>>
>> print reasonable error message for missing parameter.
>>
> I don't get the point about scripts and error checking.
> I've seen it in other threads and I still don't get it.
I suppose that you're somewhat familiar with shell scripting, so you
know these:
make && make install
The second command is executed only when the first succeeds. On error,
the statements "do not chain". Similarly for bzr commands in scription
case:
bzr ... && bzr ...
If there is a call:
config get variable "$options"
And $options is empty, for whatever reasons, from shell's point of view, the
commands reads:
config set variable
If program has some defaults when *no* *arguments* are given, this gives
surprising results. Therefore the above will and should print error and
not assume e.g. "" empty value.
Similarly for all other ocmmands. Like requiring "--all" to catch the
missing intentions.
> Forcing me to type the --all seems redundant.
As you mentioned, if you find typing this frequently, you can make
alias for it. The programs' consistent behavior is more important than
convenience.
Jari
More information about the bazaar
mailing list