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