You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Bert Huijben <rh...@sharpsvn.net> on 2009/01/10 23:03:15 UTC
Adding the entries file to your working copy (or how to break your
workingcopy the hard way)
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
RE: Adding the entries file to your working copy (or how to break
your workingcopy the hard way)
Posted by Bert Huijben <rh...@sharpsvn.net>.
> -----Original Message-----
> From: Bert Huijben [mailto:rhuijben@sharpsvn.net]
> Sent: Sunday, January 11, 2009 12:03 AM
> To: dev@subversion.tigris.org
> Subject: Adding the entries file to your working copy (or how to break
> your workingcopy the hard way)
>
> 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.
I'm working on a fix for the working copy issues of --parents
Other examples that add .svn to your working copy
# svn mkdir --parents .svn/folder
# svn cp --parents file .svn/folder2/file
We also have open --parents issues on urls.
See
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=101
2076
Bert
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1017059