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

Adding the entries file to your working copy (or how to break your workingcopy the hard way)

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Sun, 11 Jan 2009 00:03:15 +0100

As expected this doesn't work:

# svn add .svn\entries
svn: '.svn' is not a working copy
svn: Can't open file '.svn\.svn\entries': The system cannot find the path
specified.

But I was really surprised when I tried:

# svn add --parents .svn\entries
A D:\WC\.svn
A D:\WC\.svn\entries

(And it even allowed committing!)

This was with Subversion 1.5.5.

Expected behavior:
The working copy library and/or client library should have denied the
addition of the .svn directory (and thereby its children).

        Bert

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1015967
Received on 2009-01-11 09:04:38 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.