Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable patchctx: add dummy substate attribute

It fixes exception when displaying context menu for filelistview after
subrepo support, 3a221b088500.

Changeset b746f6ff6403

Parent 05bba35d2b7a

by Yuya Nishihara

Changes to one file · Browse files at b746f6ff6403 Showing diff from parent 05bba35d2b7a Diff from another changeset...

 
74
75
76
 
 
 
 
77
78
79
 
74
75
76
77
78
79
80
81
82
83
@@ -74,6 +74,10 @@
  # ensure the patch contents are re-read   self._mtime = 0   + @property + def substate(self): + return {} # unapplied patch won't include .hgsubstate +   def __contains__(self, key):   return key in self._files