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

Re: 'svn up -r0' doesn't.

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 04 Jul 2011 09:54:34 +0100

Daniel Shahaf <d.s_at_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
Received on 2011-07-04 10:55:22 CEST

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

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