### 名称 svnlook diff ― 打印修改的文件和属性的区别。 ### 概要 ~~~ svnlook diff REPOS_PATH ~~~ ### 描述 打印版本库中GNU样式的文件和属性修改区别。 ### 选项 ~~~ --revision (-r) --transaction (-t) --no-diff-deleted ~~~ ### 例子 这显示了一个新添加的(空的)文件,一个删除的文件和一个拷贝的文件: ~~~ $ svnlook diff -r 40 /usr/local/svn/repos/ Copied: egg.txt (from rev 39, trunk/vendors/deli/pickle.txt) Added: trunk/vendors/deli/soda.txt ============================================================================== Modified: trunk/vendors/deli/sandwich.txt ============================================================================== --- trunk/vendors/deli/sandwich.txt (original) +++ trunk/vendors/deli/sandwich.txt 2003-02-22 17:45:04.000000000 -0600 @@ -0,0 +1 @@ +Don't forget the mayo! Modified: trunk/vendors/deli/logo.jpg ============================================================================== (Binary files differ) Deleted: trunk/vendors/deli/chips.txt ============================================================================== Deleted: trunk/vendors/deli/pickle.txt ============================================================================== ~~~ 如果一个文件有非文本的`svn:mime-type`属性,区别不会明确显示。