Show More
@@ -124,6 +124,8 b' class dirstate(object):' | |||
|
124 | 124 | prevents writing an incoherent dirstate where the parent doesn't |
|
125 | 125 | match the contents. |
|
126 | 126 | ''' |
|
127 | self._ui.deprecwarn('beginparentchange is obsoleted by the ' | |
|
128 | 'parentchange context manager.', '4.3') | |
|
127 | 129 | self._parentwriters += 1 |
|
128 | 130 | |
|
129 | 131 | def endparentchange(self): |
@@ -131,6 +133,8 b' class dirstate(object):' | |||
|
131 | 133 | dirstate parents. Once all parent changes have been marked done, |
|
132 | 134 | the wlock will be free to write the dirstate on release. |
|
133 | 135 | ''' |
|
136 | self._ui.deprecwarn('endparentchange is obsoleted by the ' | |
|
137 | 'parentchange context manager.', '4.3') | |
|
134 | 138 | if self._parentwriters > 0: |
|
135 | 139 | self._parentwriters -= 1 |
|
136 | 140 |
General Comments 0
You need to be logged in to leave comments.
Login now