我写了一个使用 SVNKit 的 java 程序。 checkout 文件的时间戳是系统时间,而不是提交时间。如何使用提交时间 checkout 文件。
最佳答案
看ISVNOptions#setUseCommitTimes() .从那里:
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.
关于java - 如何使用提交时间 checkout 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8382595/