[PATCH] extensions: print some debug info on import failure

Matt Mackall mpm at selenic.com
Sun Oct 2 17:36:46 CDT 2011


On Sun, 2011-10-02 at 18:34 -0400, Greg Ward wrote:
> # HG changeset patch
> # User Greg Ward <greg at gerg.ca>
> # Date 1317501759 14400
> # Node ID f6469a287346f770df4783b1cbfc094b37dd9d35
> # Parent  6fd1ab0c79fd2f1718de84fdb8cdeb9e39ecd1ac
> extensions: print some debug info on import failure
> 
> This is handy if hgext.foo exists but has a bogus "import blah":
> previously we just discarded the "No module named blah" error. Now at
> least you can see it with --debug. Not perfect, but better than
> nothing.

Sure, queued.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list