--similarity option for hg convert ?

Philippe De Muyter phdm at macqel.be
Thu Jul 9 06:13:17 CDT 2009


On Tue, Jul 07, 2009 at 10:10:04AM -0400, Greg Ward wrote:
> On Tue, Jul 7, 2009 at 10:07 AM, Philippe De Muyter<phdm at macqel.be> wrote:
> > That doesn't work yet, but it seems to do a little bit more :
> >
> > phdm at frolo:/archives/programs/external/hg> PYTHONPATH=/archives/programs/external/hg/pyfastimport hg help fastimport
> > *** failed to import extension fastimport from /archives/programs/external/hg/hg-fastimport/hgfastimport: No module named hgfastimport.hgimport
> >                                          ^^^^^^^^^^^^^^^^^^^^^
> > fastimport extension - no help text available
> 
> Hmmm.  Apparently I *still* don't understand how Hg finds/loads
> extensions.  Please try this:
> 
>   PYTHONPATH=/archives/programs/external/hg/pyfastimport:/archives/programs/external/hg/hg-fastimport
> hg help fastimport
> 
> If that doesn't work, I'm stumped.

As I wrote already, 

	hg help fastimport

now works ...

but

	hg fastimport /tmp/gitrepo.fastexport

immediately (before any access to /tmp/gitrepo.fastexport) stops with

	abort: could not import module encoding!

Any idea ?

Philippe


More information about the Mercurial mailing list