svnlook diff
Prev | svnlook Subcommands | Next

## Name

svnlook diff — Print differences of changed files and properties.

## Synopsis

`svnlook diff REPOS_PATH`

## Description

Print GNU-style differences of changed files and properties in a repository.

## Options

    --diff-copy-from
    --no-diff-added
    --no-diff-deleted
    --revision (-r)
    --transaction (-t)
    --extensions (-x) ARG

## Examples

This shows a newly added (empty) file, a deleted file, and a copied file:

    $ svnlook diff -r 40 /var/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
    ==============================================================================

If a file has a nontextual `svn:mime-type` property, the differences are not explicitly shown.

Prev | Up | Next
svnlook date | Home | svnlook dirs-changed