Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10866

Source Tree: Error encountered when trying to open hg repos

    XMLWordPrintable

Details

    Description

      SourceTree version: 2.04 (2.02 worked)
      After double clicking a hg repos I get a message box with the following trace:

      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 hgattic
      ** which supports versions unknown of Mercurial.
      ** Please disable hgattic 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, hgattic, hgflow, gpg, sourcetree_auth, 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: &#x27;NoneType&#x27; object has no attribute &#x27;islocalrepo&#x27;
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            c60d5a9d4ec3 mthielen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: