##// END OF EJS Templates
histedit: fix serializing of None backupfile...
Durham Goode -
r24958:a920abf5 stable
parent child Browse files
Show More
@@ -252,7 +252,10 b' class histeditstate(object):'
252 252 for replacement in self.replacements:
253 253 fp.write('%s%s\n' % (node.hex(replacement[0]), ''.join(node.hex(r)
254 254 for r in replacement[1])))
255 fp.write('%s\n' % self.backupfile)
255 backupfile = self.backupfile
256 if not backupfile:
257 backupfile = ''
258 fp.write('%s\n' % backupfile)
256 259 fp.close()
257 260
258 261 def _load(self):
General Comments 0
You need to be logged in to leave comments. Login now