hgsubversion refuses to load into tip of Mercurial default

Create issue
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. Peter Arrenbrecht

    I resurrected discovery.findoutgoing as .findcommonoutgoing. So I'll have to update this here patch to reflect it.

  3. Steve Borho reporter
    • changed status to open

    it's been busted once again, the day before the code freeze

    you get an error when you try to pull with hgsubversion enabled

  4. Steve Borho reporter

    I didn't, but the clone wrapper patch looks promising for the problems I had. Are those going to be applied soon?

  5. Log in to comment