Problem with aliases in hg 1.3
Matt Mackall
mpm at selenic.com
Wed Jul 15 13:11:05 CDT 2009
On Wed, 2009-07-15 at 09:59 -0700, Brendan Cully wrote:
> On Wednesday, 15 July 2009 at 10:08, Ted Pavlic wrote:
> > > Thanks -- that was it. I've taken "hgext.alias =" out of my ~/.hgrc, and
> > > everything appears to work as before.
> >
> > Actually, on that note, shouldn't
> >
> > [extensions]
> > hgext.alias =
> >
> > return some form of error or warning? Perhaps a flag during "hg
> > debuginstall" ?
>
> Probably. The simplest way would have been to replace hgext/alias.py
> with a version that complained on load and then disappeared.
>
> I probably would have done that, but I did a quick test of having the extension
> loaded after the core patch was applied, and I didn't have troubles,
> so I didn't bother. Oh well.
Actually, it'd be better if it loaded and -did nothing-. This would let
people switch back and forth between 1.3 and 1.2 with no .hgrc change.
--
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial
mailing list