--similarity option for hg convert ?

Philippe De Muyter phdm at macqel.be
Tue Jul 7 09:27:07 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

OK, that does it ...

but not when I type it on two lines as you showed.  Either do I need to put

 PYTHONPATH=... hg help fastimport

on one line,

or do I need to

 export PYTHONPATH=...

before using fastimport

Thanks

Philippe


More information about the Mercurial mailing list