[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Diff problem

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-11-12 19:26:25 CET

Peter Ledbrook <peter.ledbrook@august.uk.com> writes:

> svn diff --old http://aug00277/svn/auganiser/trunk --new .

> Am I getting something horribly wrong here?

You are doing the right thing, unfortunately Subversion is doing the
wrong thing.

Here's my recipe

#!/bin/bash
rm -rf repo wc
svnadmin create repo
svn mkdir file://`pwd`/repo/trunk -m r1
svn co file://`pwd`/repo/trunk wc
echo foo >> wc/foo
svn add wc/foo
svn ci wc -m r2
svn cp file://`pwd`/repo/trunk file://`pwd`/repo/branch -m r3
echo mod >> wc/foo
svn ci wc -m r4
svn sw file://`pwd`/repo/branch wc
svn diff --old file://`pwd`/repo/trunk --new wc

A quick investigation with gdb shows svn_repos_dir_delta doing a
/trunk to /trunk diff rather than a /trunk to /branch diff.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 12 19:27:18 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.