Issue #2163 resolved

"AttributeError: 'patchctx' object has no attribute 'manifest'" when using "Edit local" on unapplied mq

Ed Morley
created an issue



Mercurial version (2.3.1). TortoiseHg version (2.5) Command: CWD: C:\Windows\system32 Encoding: cp1252 Extensions loaded: extdiff, mq 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.0 PyQt-4.9.1 Traceback (most recent call last): File "tortoisehg\hgqt\filectxactions.pyo", line 225, in editlocal File "tortoisehg\hgqt\filectxactions.pyo", line 283, in _findsub File "tortoisehg\util\hglib.pyo", line 763, in getDeepestSubrepoContainingFile


1) Make sure unapplied mq patch present 2) With mq patch row highlighted & "revision details" panel showing, right-click a file in the files list for that patch, and choose "edit local"

Expected: The local file opens in an editor (obviously not with the changes in that patch, since it isn't applied)

Actual: The above traceback.

Comments (3)

  1. Log in to comment