Show More
@@ -57,7 +57,7 b' class cmdstate(object):' | |||||
57 | we use third-party library cbor to serialize data to write in the file. |
|
57 | we use third-party library cbor to serialize data to write in the file. | |
58 | """ |
|
58 | """ | |
59 | with self._repo.vfs(self.fname, 'wb', atomictemp=True) as fp: |
|
59 | with self._repo.vfs(self.fname, 'wb', atomictemp=True) as fp: | |
60 | cbor.dump(self.opts, fp) |
|
60 | cbor.dump(self.opts, fp, canonical=True) | |
61 |
|
61 | |||
62 | def _read(self): |
|
62 | def _read(self): | |
63 | """reads the state file and returns a dictionary which contain |
|
63 | """reads the state file and returns a dictionary which contain |
General Comments 0
You need to be logged in to leave comments.
Login now