2

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.

4

1 に答える 1

1

ISVNOptions#setUseCommitTimes()を見てください。そこから:

commit-timesオプションを有効または無効にします。commit-timesオプションを使用すると、チェックアウト/更新/切り替え/復帰操作で、アクセスするすべてのファイルに最後にコミットされたタイムスタンプが設定されます。

このオプションは、SVNの構成ファイルの[miscellany]セクションにある「use-commit-times」オプションに対応しています。

于 2011-12-05T08:26:11.940 に答える