Pagine

Wednesday 7 December 2016

SVN tutorial n 17 - blame

The "svn blame" command shows author and revision information inline for the specified files or URLs. In detail for each line of a file gets three fields:
  1. author
  2. svn revision number
  3. text
The synopsis is:
 svn blame <path>[@<svn_revision>]
Examples:
Usage in local working copy:
 svn blame MyFile.txt
Use in remote url and svn revision number
 svn blame https://mysvnrepo/svn/myproject/trunk/MyFile.txt@123
The option "--extensions (-x)" does not consider the minimal modifications as whitespace.
 svn blame --extensions MyFile.txt
Instead with option --xml you can get XML output:
 svn blame --xml MyFile.txt

No comments:

Post a Comment