Error while trying to open Hg repository - 'hg status' failed with code 1

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Low
    • None
    • Affects Version/s: 1.3.2
    • Component/s: Mercurial
    • None
    • Environment:

      Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
      Mercurial Distributed SCM (version 2.0.1)

      Not sure what went wrong here.

      'hg status' failed with code 1:'** unknown exception encountered, please report by visiting
      **  http://mercurial.selenic.com/wiki/BugTracker
      ** Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
      ** Mercurial Distributed SCM (version 2.0.1)
      ** Extensions loaded: transplant, fetch, extdiff, rebase, hgsubversion, hgattic
      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 27, in run
          sys.exit(dispatch(request(sys.argv[1:])))
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 64, in dispatch
          return _runcatch(req)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 87, in _runcatch
          return _dispatch(req)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 655, in _dispatch
          repo = hg.repository(ui, path=path)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/hg.py", line 98, in repository
          hook(ui, repo)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/hgext/hgattic/attic.py", line 753, in reposetup
          repo.attic = attic(ui, repo.join(''))
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/hgext/hgattic/attic.py", line 111, in __init__
          if inst.errno != errno.EEXIST or not create:
      NameError: global name 'create' is not defined
      '
      

        1. test.hgrc
          1 kB
        2. stree_exception.log
          2 kB
        3. screenshot-1.jpg
          screenshot-1.jpg
          81 kB

              Assignee:
              Unassigned
              Reporter:
              Felipe Cuozzo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: