[PATCH] [hgext] drop unused legacy code

Simon Heimberg simohe at besonet.ch
Wed May 1 12:16:29 CDT 2013


On 2013-04-01, 12:56 +0200 Benoit Boissinot wrote:

> On Mon, Apr 1, 2013 at 4:15 AM, Pierre-Yves David
> <pierre-yves.david at ens-lyon.org> wrote:
>         # HG changeset patch
>         # User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
>         # Date 1364782470 -7200
>         # Node ID cf4e11a638db129ba9d4ef422d8b47a0ce22b9ae
>         # Parent  3ce3f2b059a1c1ab2b7b125a864bb48d20030f16
>         [hgext] drop unused legacy code
>         
>         This changeset drops a very old extension that nobody is using
>         anyway.

Oops, I am nobody.

>         
>         This is a big win for future maintenance as three thousands
>         lines of code and
>         than thousands line of test can be dropped.
>         
<snip>
> 
> 
> Obviously, please keep a stub extension which documents that this
> extension is to be replaced with another.

Yes please.

For not being nobody anymore: What should I use instead of mq? 
I hope it is supported by gui tools. (mq is supported by several ones
like tortoisehg, gquilt, ...)

What is an alternative command for strip?

Maybe mq could be deprecated for one release before being removed?
(Maybe with a message when loading.)

And at least this page should get a hint at the start:
 http://mercurial.selenic.com/wiki/MqExtension
there are also many other sites refering mq. Examples:
http://mercurial.selenic.com/wiki/EditingHistory#Editing_recent_history_with_MQ
http://mercurial.selenic.com/wiki/MqTutorial
http://mercurial.selenic.com/wiki/HandlingRejects#Rejects_when_working_with_MQ (outdated? does rebase work with applied patches?)
http://mercurial.selenic.com/wiki/TipsAndTricks#Use_an_extension_only_for_one_call_.28without_editing_hgrc.29

> 
> 
> Also did you consider a reimplementation on top of obsolete?

Sounds interesting

> 
> Cheers,
> 
> 
> Benoit



More information about the Mercurial-devel mailing list