Show More
@@ -3160,7 +3160,7 class revlog: | |||
|
3160 | 3160 | raise error.RevlogError( |
|
3161 | 3161 | _(b"%s: attempt to add wdir revision") % self.display_id |
|
3162 | 3162 | ) |
|
3163 |
if self._inner._writing |
|
|
3163 | if not self._inner.is_writing: | |
|
3164 | 3164 | msg = b'adding revision outside `revlog._writing` context' |
|
3165 | 3165 | raise error.ProgrammingError(msg) |
|
3166 | 3166 |
General Comments 0
You need to be logged in to leave comments.
Login now