Changeset 782:080df5ee8690 in hatta-dev
Legend:
- Unmodified
- Added
- Removed
-
hatta.py
r778 r782 632 632 633 633 repo_file = self._title_to_file(title) 634 changectx = self._changectx() 635 stack = [changectx] 636 while repo_file not in changectx: 637 if not stack: 634 stack = [self._changectx()] 635 while stack: 636 changectx = stack.pop() 637 if repo_file in changectx: 638 return changectx[repo_file] 639 if changectx.rev() == 0: 638 640 return None 639 changectx = stack.pop()640 641 for parent in changectx.parents(): 641 642 if parent != changectx: 642 643 stack.append(parent) 643 return changectx[repo_file]644 return None 644 645 645 646 def page_history(self, title):
Note: See TracChangeset
for help on using the changeset viewer.
