1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #1120 resolved

Error on QNew with more than 2 patches in the MQ

Markus Enax
created an issue

The following error popped up when 2 patches were already in the queue and a third one was added by clicking "QNew". Same error then on fourth and following patches. However, all affected patches are added correctly to the queue.

{{{

!python

Mercurial version (1.9.1). TortoiseHg version (2.1.2) Command: CWD: C:\Windows\system32 Encoding: cp1252 Extensions loaded: fetch, mq, rebase, transplant Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] Windows version: (6, 1, 7601, 2, 'Service Pack 1') Processor architecture: x86 ** Qt-4.7.1 PyQt-4.8.3 Traceback (most recent call last): File "tortoisehg\hgqt\repowidget.pyo", line 888, in repositoryChanged File "tortoisehg\hgqt\repowidget.pyo", line 850, in rebuildGraph File "tortoisehg\hgqt\repowidget.pyo", line 711, in setupModels File "tortoisehg\hgqt\repomodel.pyo", line 123, in init File "tortoisehg\hgqt\repomodel.pyo", line 137, in setBranch File "tortoisehg\hgqt\repomodel.pyo", line 189, in ensureBuilt File "tortoisehg\hgqt\graph.pyo", line 308, in build_nodes File "tortoisehg\hgqt\graph.pyo", line 229, in mq_patch_grapher File "mercurial\util.pyo", line 169, in get File "tortoisehg\hgqt\thgrepo.pyo", line 305, in thgmqunappliedpatches File "mercurial\util.pyo", line 169, in get File "hgext\mq.pyo", line 312, in series File "hgext\mq.pyo", line 377, in parseseries File "mercurial\util.pyo", line 169, in get File "hgext\mq.pyo", line 307, in fullseries File "mercurial\scmutil.pyo", line 144, in read File "mercurial\scmutil.pyo", line 232, in call File "mercurial\windows.pyo", line 20, in posixfile IOError: [Errno 2] D:\Projekte\Metronom\Railwatcher.hg\patches\series: Das System kann die angegebene Datei nicht finden

}}}

Comments (5)

  1. Ross Judson

    I have the same stack trace. I don't think describing it as harmless is appropriate. In my case my patch queue has disappeared from thg. I'm sure the patch files are there somewhere, but having them disappear from thg is disconcerting.

    I am on thg 2.7, Ubuntu 12.10.

  2. Log in to comment