gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] Re: Obsoleting abrowse


From: Matthieu Moy
Subject: [Gnu-arch-users] Re: Obsoleting abrowse
Date: Sun, 31 Jul 2005 11:47:15 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

David Allouche <address@hidden> 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
address@hidden/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                                                             
                           
address@hidden
  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




reply via email to

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