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