--similarity option for hg convert ?

Philippe De Muyter phdm at macqel.be
Tue Jul 7 05:11:38 CDT 2009


On Fri, Jul 03, 2009 at 03:10:24PM -0400, Greg Ward wrote:
> 
> ...ok done.  Try cloning this: http://vc.gerg.ca/hg/pyfastimport/ .

Thanks, but ...

I have cloned pyfastimport and hg-fastimport, made the symbolic link, and
added fastimport in the [extensions] section of my ~/.hgrc.

 phdm at frolo:/archives/programs/external/hg> ls -l *
 hg-fastimport:
 total 32
 -rw-r--r-- 1 phdm users 17987 2009-07-07 11:52 COPYING
 lrwxrwxrwx 1 phdm users    26 2009-07-07 11:57 fastimport -> ../pyfastimport/fastimport
 drwxr-xr-x 2 phdm users  4096 2009-07-07 11:58 hgfastimport
 -rw-r--r-- 1 phdm users  3871 2009-07-07 11:52 README.txt
 drwxr-xr-x 2 phdm users  4096 2009-07-07 11:52 tests

 pyfastimport:
 total 52
 -rw-r--r-- 1 phdm users 17987 2009-07-07 11:51 COPYING.txt
 drwxr-xr-x 2 phdm users  4096 2009-07-07 11:51 doc
 drwxr-xr-x 2 phdm users  4096 2009-07-07 11:51 exporters
 drwxr-xr-x 2 phdm users  4096 2009-07-07 11:52 fastimport
 -rw-r--r-- 1 phdm users  7700 2009-07-07 11:51 NEWS
 -rw-r--r-- 1 phdm users  1037 2009-07-07 11:51 README.txt
 -rwxr-xr-x 1 phdm users   699 2009-07-07 11:51 runtests.py
 -rwxr-xr-x 1 phdm users   424 2009-07-07 11:51 setup.py
 phdm at frolo:/archives/programs/external/hg> cat ~/.hgrc
 [extensions]
 fastimport = /archives/programs/external/hg/hg-fastimport/hgfastimport
 phdm at frolo:/archives/programs/external/hg>

but I get :

 phdm at frolo:/archives/programs/external/hg> hg help fastimport
 *** failed to import extension fastimport from /archives/programs/external/hg/hg-fastimport/hgfastimport: No module named fastimport
 fastimport extension - no help text available

 no commands defined

What did I do wrong ?

Philippe


More information about the Mercurial mailing list