preserve timestamp of converted pages
This commit is contained in:
parent
949c4d1571
commit
d283d60313
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ def convertfile(pagedir, overwrite = False):
|
||||||
print "dokuname: [%s]" % out_file
|
print "dokuname: [%s]" % out_file
|
||||||
try:
|
try:
|
||||||
writefile(out_file, content, overwrite = overwrite)
|
writefile(out_file, content, overwrite = overwrite)
|
||||||
|
copystat(curr_rev, out_file)
|
||||||
except OSError, e:
|
except OSError, e:
|
||||||
print e
|
print e
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in a new issue