Show More
@@ -1220,8 +1220,9 b' class dirstate(object):' | |||||
1220 | # use '_writedirstate' instead of 'write' to write changes certainly, |
|
1220 | # use '_writedirstate' instead of 'write' to write changes certainly, | |
1221 | # because the latter omits writing out if transaction is running. |
|
1221 | # because the latter omits writing out if transaction is running. | |
1222 | # output file will be used to create backup of dirstate at this point. |
|
1222 | # output file will be used to create backup of dirstate at this point. | |
1223 |
self._ |
|
1223 | if self._dirty or not self._opener.exists(filename): | |
1224 | checkambig=True)) |
|
1224 | self._writedirstate(self._opener(filename, "w", atomictemp=True, | |
|
1225 | checkambig=True)) | |||
1225 |
|
1226 | |||
1226 | if tr: |
|
1227 | if tr: | |
1227 | # ensure that subsequent tr.writepending returns True for |
|
1228 | # ensure that subsequent tr.writepending returns True for |
General Comments 0
You need to be logged in to leave comments.
Login now