[PATCH] Commit and log commands: strings encodings

John A Meinel john at arbash-meinel.com
Fri Dec 2 19:36:35 GMT 2005


Alexander Belchenko wrote:
> John A Meinel пишет:
>> Sure, but o and i are very commonly used for --input, --output, etc.
>> Meaning redirect the output to a file.
>>
>> And while we aren't using them now, I think it would be good to have
>> them available in the future.
>>
>> I'm not stating absolutes here. I just know that in general, short
>> options are reserved until we find that an option is being supplied all
>> the time (like --revision and --message).
>>
>> Perhaps we could have --input-encoding --output-encoding, and then a
>> shortcut for the most common --utf8.
>>
>> Just some ideas. Martin is the ultimate authority on whether
>> short-options make it in.
> 
> I'll be happy if you merge my patch even without short options (-i/-o).
> Because for me is very important influence of this options on text
> processing rather than options naming.
> 
> Simply exclude these lines from the end of patch #27:
> 
> _global_short('i', 'input-encoding')
> _global_short('o', 'output-encoding')

What about the idea of environment variables instead of parameters?
That way you can set them 1 time in your environment, rather than
passing them for everything you want to do.

John
=:->

> 
> 
> Alexander
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051202/5202d3eb/attachment.pgp 


More information about the bazaar mailing list