因为svn log FILENAME
您将获得影响的修订列表FILE
。如果 WC 中的 FILE 和 WC 未从 repo 更新为 HEAD,您将获得部分历史记录
如果您想获得透明且相关的结果,请使用存储库内的源命令
样品:
网址是http://mayorat.ursinecorner.ru:8088/svn/Hello/trunk/Hello.fr.txt
>svn log http://mayorat.ursinecorner.ru:8088/svn/Hello/trunk/Hello.fr.txt -l 1 -q
------------------------------------------------------------------------
r35 | lazybadger | 2013-01-09 11:35:28 +0600 (Ср, 09 янв 2013)
------------------------------------------------------------------------
>svn info http://mayorat.ursinecorner.ru:8088/svn/Hello/trunk/Hello.fr.txt
Path: Hello.fr.txt
Name: Hello.fr.txt
URL: http://mayorat.ursinecorner.ru:8088/svn/Hello/trunk/Hello.fr.txt
Repository Root: http://mayorat.ursinecorner.ru:8088/svn/Hello
Repository UUID: 65c3f143-cc60-1d4e-9546-1f0378d96c08
Revision: 37
Node Kind: file
Last Changed Author: lazybadger
Last Changed Rev: 35
Last Changed Date: 2013-01-09 11:35:28 +0600 (Ср, 09 янв 2013)
(“Last *”字段与日志数据相关)
奖励命令
>svn ls -v http://mayorat.ursinecorner.ru:8088/svn/Hello/trunk/Hello.fr.txt
35 lazybadg 90 янв 09 11:35 Hello.fr.txt