• Name

    svn blame – Show author and revision information in-line for the specified files or URLs.

    Synopsis

    svn blame TARGET[@REV]…

    Description

    Show author and revision information in-line for the specified files or URLs. Each line of text is annotated at the beginning with the author (username) and the revision number for the last change to that line.

    Alternate Names

    praise, annotate, ann

    Changes

    Nothing

    Accesses Repository

    Yes

    Options

    --revision (-r) ARG
    --verbose (-v)
    --incremental
    --xml
    --extensions (-x) ARG
    --force
    --username ARG
    --password ARG
    --no-auth-cache
    --non-interactive
    --config-dir ARG
    

    Examples

    If you want to see blame annotated source for readme.txt in your test repository:

    $ svn blame http://svn.red-bean.com/repos/test/readme.txt
         3      sally This is a README file.
         5      harry You should read this.
    

    Even if svn blame says that Harry last modified readme.txt in revision 5, you'll have to examine exactly what the revision changed to be sure that Harry changed the context of the line–he may have just adjusted the whitespace.


    The Version Control with Subversion book is licensed under the Creative Commons Attribution License v2.0.
    To submit comments, corrections, or other contributions to the text, please visit http://www.svnbook.com.