hgsubversion refuses to load into tip of Mercurial default

Issue #274 resolved
Steve Borho
created an issue

The new discovery code has broken module load.

{{{ *** failed to import extension hgsubversion from C:\repos\hgsvn\hgsubversion: 'module' object has no attribute 'findoutgoing' }}}

Comments (10)

  1. Augie Fackler repo owner

    Took a brief look at this. For anyone curious and interested in fixing and sending me a patch before I get to this (might be a few days):

    We wrap findoutgoing on Mercurial [1.6,1.8] to provide 'hg outgoing' support. Starting in 1.9, outgoing uses discovery.findcommonincoming() and then does changelog.findmissing() in order to figure out the changesets common with the server and then subtract those from the local changelog. We probably just need to do an equivalent wrapper on findcommonincoming to return the revset fromsvn().

  2. Log in to comment