David Allouche <[EMAIL PROTECTED]> writes:

> On Sat, 2005-07-30 at 11:06 +0200, Matthieu Moy wrote:
>> 
>> Here's my proposal:
>> 
>> 1) Add --id-regexp (we already have --patch-regexp to filter on the
>>    summary field) to rbrowse, make the exact search the default.
>
> As mentioned in another message, why not just "--regexp" and "-R"?
>
>> 2) Rename "rbrowse" to simply "browse"
>> 
>> 3) Make "abrowse" and "rbrowse" deprecated aliases for "browse".
>>    Remove the abrowse code completely.
>

[...]

> Commands that are truly deprecated in favour of a similar command should
> be replaced by dummy command that fails with a very short error message

That's what I have now in
[EMAIL PROTECTED]/bazaar--abrowse-deprecated--1.5--patch-4

$ baz help | grep browse                                                        
                           
               browse : print an outline describing an archive's contents
$ baz rbrowse                                                                   
                           
rbrowse is a deprecated alias for browse. Please use browse
$ echo $?                                                                       
                           
2
$ baz browse | head                                                             
                           
[EMAIL PROTECTED]
  authinfo--main--0
    base-0 ... patch-2
  bazaar--a-test-for-file-history--1.5
    base-0 ... patch-2
  bazaar--abrowse-deprecated--1.5
    base-0 ... patch-4
  bazaar--archive-mirror--1.4
    base-0 ... patch-1
  bazaar--archive-mirror--1.5
$ 

Any objection to merge this in?

-- 
Matthieu


_______________________________________________
Gnu-arch-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to