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

'svn up -r0' doesn't.

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 2 Jul 2011 00:28:05 +0300

Philip mentioned 'svn up -r0' in another thread.

I did:

% $svn checkout --depth=empty https://svn.eu.apache.org/repos/infra/infrastructure infra-freshwc
% cd infra-freshwc
% $svn up --set-depth=immediates . subdir1 subdir2
% $svn up --set-depth=infinity subdir3 trunk
% cd trunk
% $svn up -r0 m
Updating 'm':
   C m

Fetching external item into 'm/f/m/e/rc.local':
A m/f/m/e/rc.local
Updated external to revision 792004.
At revision 0.
Summary of conflicts:
  Tree conflicts: 1
% $svn pl m/f/m/e/
Properties on 'm/f/m/e':
% find m | wc -l > 1
% sqlite3 ../.svn/wc.db "SELECT DISTINCT local_relpath FROM nodes WHERE local_relpath LIKE 'trunk/m%'" > 2
% danielsh "Are ./1 and ./2 identical except for 40 lines belonging to a directory external?"

So... it didn't really do 'svn up -r 0'; instead, it updated the whole
tree (including files which aren't externals).

The svn:externals properties that define the file externals are located
on their immediate parents --- eg, on trunk/m/f/m/e/.

Hope this helps. Let me know if I can provide additional information.
Received on 2011-07-01 23:28:53 CEST

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