##// END OF EJS Templates
mergestate: move _read() call to read constructor...
Siddharth Agarwal -
r27005:3185c01c default
parent child Browse files
Show More
@@ -87,12 +87,15 b' class mergestate(object):'
87 87 def read(repo):
88 88 """Initialize the merge state, reading it from disk."""
89 89 ms = mergestate(repo)
90 ms._read()
90 91 return ms
91 92
92 93 def __init__(self, repo):
94 """Initialize the merge state.
95
96 Do not use this directly! Instead call read() or clean()."""
93 97 self._repo = repo
94 98 self._dirty = False
95 self._read()
96 99
97 100 def reset(self, node=None, other=None):
98 101 self._state = {}
General Comments 0
You need to be logged in to leave comments. Login now