Change the timestamp of an SVN revision

后端 未结 4 734
春和景丽
春和景丽 2020-12-05 20:18

We had a power failure that exhausted our UPS and subsequently shutdown our SVN machine. When it booted back up it, the system time was incorrect.

Unfortunately, thi

4条回答
  •  执念已碎
    2020-12-05 21:00

    Change the svn:date property of the revision:

    svn propset -rXXX --revprop svn:date "2008-03-10T03:00:00.000000Z" repository
    

    Or using TortoiseSVN, Show log -> Right click on the revision -> Show revision properties:

    You will need for that the pre-revprop-change hook, a empty shell script or batch file will do the work.

提交回复
热议问题