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

svn 1.7.4: svn up --depth immediates not working as expected.

From: Derek Wallace <Derek.Wallace_at_intunenetworks.com>
Date: Fri, 6 Jul 2012 16:59:06 +0000

HI,
Ive identified what i believe is a bug in svn 1.7. Ive used svn 1.6 extensively and never remember observing this behaviour.

1. i have a full checkout of a repository.

2. i want to do an update of a folder but not the sub-folders. I use the commnand
svn up --depth immediates

3. what i see is contents of sub- folders updating.

> svn info
Path: .
Working Copy Root Path: /scratch-disk4/derek.wallace/IVX8000_trunk_FPGA_1
URL: svn://dubsvn1/inx8000-cr1-fpga/ivx8000/trunk/trunk/data
Repository Root: svn://dubsvn1/inx8000-cr1-fpga
Repository UUID: baad5aac-ed56-0410-b601-f48d8304e233
Revision: 261102
Node Kind: directory
Schedule: normal
Last Changed Author: derek.wallace
Last Changed Rev: 261102
Last Changed Date: 2012-07-06 16:35:34 +0100 (Fri, 06 Jul 2012)

> svn up --depth immediates
Updating '.':
At revision 261102.

> edit and commit file in a sub folder.

> svn up --depth immediates
Updating '.':
U fpgaflow_lib/mcm_example2/del.wal
Updated to revision 261103.

I did NOT expect the above file to appear i.e. i expected on fils in the current folder to appear or a new folder (but not its contents).

Can anyone
1. confirm that svn up --depth immediates should ONLY checkout new files at current level
2. that this does indeed look like a bug in svn 1.7

SVN Client 1.7.4
OS : RHL
SVN Server 1.6.18

As an experiment i went back to svn 1.6 and an old working copy.
1. made a change to a file below the current folder.

2. svn up --depth immediates .
At revision 131253.

As i expected the updated file did not appear.

3. svn up .
U mcm_test/ReleaseNotes.txt
Updated to revision 131253.

As expected the file now appears.

Thx
Derek

-------------------------------------------------
Derek Wallace,
Director of Release Engineering,
Intune Networks Ltd
Block 9B, Park West Business Park, Nangor Road, Dublin 12, Ireland.
Phone: +353-1-6204737 Fax 353-1-6301914
URL: http://www.intunenetworks.eu
-------------------------------------------------

IMPORTANT NOTE: The information in this e-mail (and any attachments) is confidential. The contents may not be disclosed or used by anyone other than the addressee. If you are not the intended recipient, please notify the sender immediately or telephone: +353 (0)1 6204700. We cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. If you suspect that the message may have been intercepted or amended, please call the sender.
Received on 2012-07-06 18:59:38 CEST

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.