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

File externals cannot be removed

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Wed, 4 Mar 2009 00:36:38 +0000

Hi folks,

Just testing the new file externals as documented in the 1.6 release
notes and I don't seem to be able to delete a file external once it is
set. This is with the TortoiseSVN nightly build commandline client,
which is built against the head of the SVN 1.6.x branch.

Windows recipe I'm afraid, but you get the idea.

set SVN="C:\Program Files\TortoiseSVN\bin\svn"
c:
cd \temp
rd /s /q repos
rd /s /q wc
svnadmin create repos
md wc
cd wc
"C:\Program Files\TortoiseSVN\bin\svn" co file:///c:/temp/repos .
:: Sorry about the fixed paths. Back to normal now.
echo hello > alpha.txt
%SVN% add alpha.txt
%SVN% ci -m "" .
%SVN% propset svn:externals "^/alpha.txt beta.txt" .
%SVN% up
%SVN% propdel svn:externals .
%SVN% up
del beta.txt
%SVN% up
cd ..

Now I have no svn:external property set, but the file external is
still there and cannot be deleted. Manual deletion fails because svn
up restores it. svn rm doesn't work for externals.

Committing after adding the svn:externals doesn't help, nor does
committing after deleting it. The only fix seems to be a fresh
checkout. Am I missing something obvious?

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1264174
Received on 2009-03-04 01:49:14 CET

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.