Show More
@@ -114,6 +114,8 b' class _dirstatemapcommon:' | |||||
114 | new_docket = docketmod.DirstateDocket.with_new_uuid( |
|
114 | new_docket = docketmod.DirstateDocket.with_new_uuid( | |
115 | self.parents(), len(packed), meta |
|
115 | self.parents(), len(packed), meta | |
116 | ) |
|
116 | ) | |
|
117 | if old_docket.uuid == new_docket.uuid: | |||
|
118 | raise error.ProgrammingError(b'dirstate docket name collision') | |||
117 | data_filename = new_docket.data_filename() |
|
119 | data_filename = new_docket.data_filename() | |
118 | self._opener.write(data_filename, packed) |
|
120 | self._opener.write(data_filename, packed) | |
119 | # Write the new docket after the new data file has been |
|
121 | # Write the new docket after the new data file has been |
General Comments 0
You need to be logged in to leave comments.
Login now