Issue #2401 resolved

commit dialog crash - when changing from master to subrepo

Anonymous created an issue

I have a 'master' repo - called COOP - where I use subrepos. When using the dialog - hg commit - on the 'master' repo, and than switching to a dirty subrepo, with a double click, to commit the subrepo - I get every time the following bug:

-- the .hgsub line of the subrepo
comeback = ssh://hg@hostname/comeback

-- the bug
    ** Mercurial version (2.4.2+20130203).  TortoiseHg version (2.7)
    ** Command: --nofork commit
    ** CWD: N:\COOP
    ** Encoding: cp1252
    ** Extensions loaded: 
    ** Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
    ** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
    ** Processor architecture: x64
    ** Qt-4.8.4 PyQt-4.9.6 QScintilla-2.7
    Traceback (most recent call last):
      File "tortoisehg\hgqt\commit.pyo", line 1367, in linkActivated
      File "tortoisehg\hgqt\run.pyo", line 523, in __call__
      File "tortoisehg\hgqt\run.pyo", line 581, in _opendialog
      File "tortoisehg\hgqt\commit.pyo", line 1422, in run
      File "tortoisehg\hgqt\thgrepo.pyo", line 53, in repository
      File "mercurial\hg.pyo", line 111, in repository
      File "mercurial\hg.pyo", line 101, in _peerorrepo
      File "mercurial\localrepo.pyo", line 2629, in instance
      File "mercurial\localrepo.pyo", line 163, in __init__
    RepoError: repository COOP\comeback not found

Comments (2)

  1. Log in to comment