Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-2891

hg status failed with code 1 in v2.0.4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Answered
    • Icon: Highest Highest
    • None
    • 2.0.4
    • None
    • None
    • OSX 10.9.4

      After updating to version 2.0.4 I get the following when I startup for my Mercurial repo. Everything was fine before update.
      --------------------

      'hg status' failed with code 1:'*** failed to import extension hgext.hgsubversion from /Applications/SourceTree.app/Contents/Resources/mercurial_local/hgext/hgsubversion: 'module' object has no attribute 'canonpath'
      ** Unknown exception encountered with possibly-broken third-party extension sourcetree_auth
      ** which supports versions unknown of Mercurial.
      ** Please disable sourcetree_auth and try your action again.
      ** If that fixes the bug please report it to the extension author.
      ** Python 2.7.5 (default, Mar  9 2014, 22:15:05) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
      ** Mercurial Distributed SCM (version 3.2.3)
      ** Extensions loaded: transplant, fetch, extdiff, rebase, strip, mq, sourcetree_auth, gpg, hgattic, hgflow, progress, sourcetree_checklink
      Traceback (most recent call last):
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/hg_local", line 35, in <module>
          mercurial.dispatch.run()
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 28, in run
          sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 71, in dispatch
          ret = _runcatch(req)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 140, in _runcatch
          return _dispatch(req)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 817, in _dispatch
          repo = hg.repository(ui, path=path)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/hg.py", line 128, in repository
          peer = _peerorrepo(ui, path, create)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/hg.py", line 115, in _peerorrepo
          obj = _peerlookup(path).instance(ui, path, create)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/hg.py", line 89, in _peerlookup
          return thing(path)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/hgext/hgsubversion/__init__.py", line 185, in _lookup
          if util.islocalrepo(url):
      AttributeError: 'NoneType' object has no attribute 'islocalrepo'
      '
      

              Unassigned Unassigned
              2df66817e5e5 Shawn Makinson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: