On Sat, Mar 13, 2010 at 12:19:03PM +0100, iprmaster wrote:
> Hi Neels,
> thank you for your answer, but I can confirm that other commands
> (i.e. svn update) do step into external folders, even in the latest
> version ;)
> Does anyone else have any suggestion?
Some commands step into externals, and some don't.
E.g. commit certainly does *not* recurse into externals by default.
I don't know what the plan was for 'svn diff' wrt externals.
It happens to not recurse, but I'm not sure if this was a concious
decision or not. Skimming the code (in libsvn_wc/diff.c) for 5 minutes
does not really turn up an answer. It probably just happened to behave
the way it does now, and nobody ever questioned this behaviour (until
you showed up :)
If you really care a lot about this, please file an issue asking
for an enhancement such that svn diff shows modifications to externals
by default, but does not if --ignore-externals is specified.
But there really is no reason for defaulting to one way or the other,
either use case is perfectly valid. Though having to list all externals
explicitly to have them included in the diff is probably less easy than
specifying --ignore-externals if you don't want to see modifications
made to externals in the diff. Not sure.
Received on 2010-03-13 12:37:04 CET