Daniel Shahaf <d...@daniel.shahaf.name> writes:

> 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

svn: warning: W200000: Error handling externals definition for 
'trunk/machines/freebsd/harmonia.apache.org/etc/rc.local':
svn: warning: W175002: Unable to connect to a repository at URL 
'https://svn-master.apache.org/repos/infra/infrastructure/trunk/ipfw/svn/rc.local'

> % 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':
>   svn:ignore
>   svn:externals
> % 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?"
> yes
> % 
> ]]]
>
>
> 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.

I really follow what you are doing, what you expect to happen or what
did happen.  Can you produce a simple recipe?

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com

Reply via email to