##// END OF EJS Templates
histedit: add actions property to histedit state...
Mateusz Kwapich -
r27200:62b9a87a default
parent child Browse files
Show More
@@ -328,6 +328,14 b' class histeditstate(object):'
328 def inprogress(self):
328 def inprogress(self):
329 return self.repo.vfs.exists('histedit-state')
329 return self.repo.vfs.exists('histedit-state')
330
330
331 @property
332 def actions(self):
333 actions = []
334 for (act, rest) in self.rules:
335 actions.append(actiontable[act].fromrule(self, rest))
336 return actions
337
338
331 class histeditaction(object):
339 class histeditaction(object):
332 def __init__(self, state, node):
340 def __init__(self, state, node):
333 self.state = state
341 self.state = state
General Comments 0
You need to be logged in to leave comments. Login now