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

Infinte loop in svn status with svn:externals

From: Fletcher, Duncan <Duncan.Fletcher_at_dsto.defence.gov.au>
Date: 2003-10-15 03:16:40 CEST

G'Day Guys.

Minor bug in svn:externals <groan> that leads to an infinite loop when a user (like me) tries to do something slightly unusual.

Reproduction recipe:

svn co http://path/to/some/repository A
svn propset svn:externals ". http://path/to/some/other/repository" A
svn status A

Now, wait a moment and watch the infinite loop roll by :)

I had a moderately logical reason for wanting to try this and nothing in the svn book really indicates that it will give a rather surprising result. The unnerving thing about the result is that when using TortoiseSVN, the only real indication that something is wrong is that the icon overlays won't come up and explorer.exe starts chewing 95% of the CPU. When I fell back to the command line it became obvious of course.

Running "svn up A" also gives a slightly cryptic error about the working copy being locked, but I reckon thats to be expected.

By the way, the svn book still doesn't document the "-r" feature in svn:externals.

On an up-note, the CVS userbase here is really impressed with Subversion and are itching for me to finish getting it set up so they can change over :) Job well done all :)

Duncan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 15 15:24:13 2003

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.