Reputation: 33
I wrote a java program that using the SVNKit. The timestamp of checked out file is system time ,instead of the commit time 。How can I check out file with the commit time.
Upvotes: 2
Views: 177
Reputation: 61705
Look at ISVNOptions#setUseCommitTimes(). From there:
Enables or disables the commit-times option. The commit-times option makes checkout/update/switch/revert operations put last-committed timestamps on every file they touch.
This option corresponds to the 'use-commit-times' option that can be found in the SVN's config file under the [miscellany] section.
Upvotes: 1