You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by ma...@tigris.org on 2004/02/25 18:31:20 UTC

[BUG?] svn add doesn't recognize if a directory already contains a .svn subdirectory.

I think the add should fail instead of overwriting and ignoring existing
files

$ svn --version
svn, version 0.37.0 (r8509)
    compiled Jan 25 2004, 22:51:07

$ svnadmin create test

$ svn co file:///g:/repos/test wc1
Checked out revision 0.

$ mkdir wc1\dir1
$ mkdir wc1\dir1\.svn
$ date /t  1>wc1\dir1\.svn\important-data
$ time /t  1>wc1\dir1\.svn\entries

$ type wc1\dir1\.svn\entries
  7:58

$ svn add wc1\dir1
A         wc1\dir1

$ dir /b wc1\dir1\.svn
empty-file
entries
format
important-data
prop-base
props
README.txt
text-base
tmp
wcprops

$ type wc1\dir1\.svn\entries
<?xml version="1.0" encoding="utf-8"?>
<wc-entries
    xmlns="svn:">
<entry
    name=""
    url="file:///g:/repos/test/dir1"
    kind="dir"
    schedule="add"
    revision="0"/>
</wc-entries>




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org