svnlook is a command-line utility for examining different aspects of a Subversion repository. It does not make any changes to the repository—it's just used for “peeking.” svnlook is typically used by the repository hooks, but a repository administrator might find it useful for diagnostic purposes.
因为svnlook通过直接版本库访问(因此只可以在保存版本库的机器上工作)工作,所以他通过版本库的路径访问,而不是URL。
如果没有指定修订版本或事物,svnlook缺省的是版本库最年轻的(最新的)修订版本。
Options in svnlook are global, just like in svn and svnadmin; however, most options apply only to one subcommand since the functionality of svnlook is (intentionally) limited in scope.
--copy-info
Causes svnlook changed to show detailed copy source information.
--no-diff-deleted
Prevents svnlook diff from printing differences for deleted files. The default behavior when a file is deleted in a transaction/revision is to print the same differences that you would see if you had left the file but removed all the content.
--no-diff-added
Prevents svnlook diff from printing differences for added files. The default behavior when you add a file is to print the same differences that you would see if you had added the entire contents of an existing (empty) file.
--revision
(-r
)指定要进行检查的特定修订版本。
--revprop
操作针对修订版本属性,而不是Subversion文件或目录的属性。这个选项需要你传递--revision
(-r
)参数。
--transaction
(-t
)指定一个希望检查的特定事物ID。
--show-ids
显示文件系统树中每条路径的文件系统节点修订版本ID。