preserve timestamp of converted pages

This commit is contained in:
Elan Ruusamäe 2012-09-18 00:23:13 +02:00
parent 949c4d1571
commit d283d60313

View file

@ -169,6 +169,7 @@ def convertfile(pagedir, overwrite = False):
print "dokuname: [%s]" % out_file
try:
writefile(out_file, content, overwrite = overwrite)
copystat(curr_rev, out_file)
except OSError, e:
print e
return 0