[PATCH 7 of 7 evolve-ext] exthelper: update documentation with some examples for using registrar aliases

Matt Harbison mharbison72 at gmail.com
Thu Jan 3 00:40:57 EST 2019


On Thu, 03 Jan 2019 00:30:54 -0500, Matt Harbison <mharbison72 at gmail.com>  
wrote:

> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1546491714 18000
> #      Thu Jan 03 00:01:54 2019 -0500
> # Node ID a0b03d4cda7acec8e544e7c68041e876515c7dad
> # Parent  0579af34a326c7a8d88aac713202bb6e90436bae
> exthelper: update documentation with some examples for using registrar  
> aliases

This syncs up with what's currently in default in the hg repo.  The tests  
on Windows are in sad shape, so I didn't make it through all of them.  But  
hopefully any problems are trivially fixable.  It looks like the revsets  
are being registered (I manually tried):

     ../../hg/hg.exe --config extensions.evolve=../hgext3rd/evolve help  
revsets.troubled

But it looks like the templates may not be registered.  I also didn't try  
older versions of Mercurial.

I don't think there is much left to do- the only potential issues I found  
were:

   1) the inability to wrap functions in an extension like a command in an  
extension can be wrapped
   2) no simple way to skip @eh.uisetup for a non local repo.

Maybe the latter isn't that important.  And it doesn't seem like evolve  
needs either, so maybe that can be only for upstream, if needed.


More information about the Mercurial-devel mailing list