[Box Backup] SVN repository up and running

Martin Ebourne boxbackup@fluffy.co.uk
Fri, 14 Oct 2005 16:24:04 +0100


Ben Summers <ben@fluffy.co.uk> wrote:
> Is there a trivially easy way see what changes are made between trunk 
>  and, say, martin/solaris? Other than checking them out and running  
> diff on them?

    svn diff http://bbdev.fluffy.co.uk/svn/box/trunk/ \
             http://bbdev.fluffy.co.uk/svn/box/martin/solaris/

This works straight from the repository with no checked out copy and is 
what you're after.

As to alternatives, the obvious approach from within a working copy is:

    svn diff trunk martin/solaris

but unfortunately this doesn't work - only diffs between revisions are 
implemented clientside at the moment. However, of course, diff works 
locally:

    diff -Nru --exclude .svn trunk martin/solaris

Alternatively in this case you could diff the changes between when the 
branch was taken and its head.

    svn diff -r 1:HEAD martin/solaris

Cheers,

Martin.