schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
621 stars 71 forks source link

mercurial 4.7.1 hggit mulfunction #335

Open alexrayne opened 6 years ago

alexrayne commented 6 years ago

Hallow! installed thg4.7.1 on win8.1x64 turned on hggit extention. it reports failure:

D:\projects>hg clone --debug --traceback git+https://github.com/littlevgl/lvgl.g
it "D:\projects\lvgl.hggit"
*** failed to import extension hggit: 'module' object has no attribute 'ignore'
Traceback (most recent call last):
  File "mercurial\extensions.pyo", line 238, in loadall
  File "mercurial\extensions.pyo", line 179, in load
  File "mercurial\extensions.pyo", line 120, in _importext
  File "mercurial\extensions.pyo", line 97, in _importh
  File "hgdemandimport\demandimportpy2.pyo", line 167, in _demandimport
  File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
  File "hggit\__init__.pyo", line 76, in <module>
  File "hgdemandimport\demandimportpy2.pyo", line 146, in __getattr__
AttributeError: 'module' object has no attribute 'ignore'
Traceback (most recent call last):
  File "mercurial\scmutil.pyo", line 161, in callcatch
  File "mercurial\dispatch.pyo", line 344, in _runcatchfunc
  File "mercurial\dispatch.pyo", line 984, in _dispatch
  File "hgext\journal.pyo", line 90, in runcommand
  File "mercurial\dispatch.pyo", line 730, in runcommand
  File "mercurial\dispatch.pyo", line 992, in _runcommand
  File "mercurial\dispatch.pyo", line 981, in <lambda>
  File "mercurial\util.pyo", line 1528, in check
  File "mercurial\util.pyo", line 1528, in check
  File "hgext\share.pyo", line 117, in clone
  File "mercurial\util.pyo", line 1528, in check
  File "mercurial\commands.pyo", line 1453, in clone
  File "mercurial\hg.pyo", line 537, in clone
  File "mercurial\hg.pyo", line 189, in peer
  File "mercurial\hg.pyo", line 163, in _peerorrepo
  File "mercurial\localrepo.pyo", line 2350, in instance
  File "mercurial\localrepo.pyo", line 498, in __init__
RepoError: repository git+https://github.com/littlevgl/lvgl.git not found
abort: repository git+https://github.com/littlevgl/lvgl.git not found!

or

D:\projects>hg clone --debug --traceback --version
*** failed to import extension hggit: 'module' object has no attribute 'ignore'
Traceback (most recent call last):
  File "mercurial\extensions.pyo", line 238, in loadall
  File "mercurial\extensions.pyo", line 179, in load
  File "mercurial\extensions.pyo", line 120, in _importext
  File "mercurial\extensions.pyo", line 97, in _importh
  File "hgdemandimport\demandimportpy2.pyo", line 167, in _demandimport
  File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
  File "hggit\__init__.pyo", line 76, in <module>
  File "hgdemandimport\demandimportpy2.pyo", line 146, in __getattr__
AttributeError: 'module' object has no attribute 'ignore'
starting pager for command 'version'
Mercurial Distributed SCM (version 4.7.1)
(see https://mercurial-scm.org for more information)

Copyright (C) 2005-2018 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Enabled extensions:

  convert      internal
  eol          internal
  evolve       external  8.2.1
  graphlog     internal
  strip        internal
  mq           internal
  rebase       internal
  record       internal
  relink       internal
  shelve       internal
  transplant   internal
  fix          internal
  histedit     internal
  journal      internal
  remotenames  internal
  schemes      internal
  share        internal
  amend        internal
  automv       external