SVN does not commit by showing files not under control
Here we see that SVN does not add files that need to be added and not committed:
$ ls -la forum
drwxr-xr-x 6 dotan.cohen coders 4096 Apr 9 02:09 before
$ svn status
? tags
? forum/before
$ svn add forum/before --force
$ svn status
? tags
? forum/before
$ svn commit -m "Some Comment"
$
The first command ( ls -la
) shows us what is forum/before/
actually a directory. The following command svn status
shows us that the directory is not under version control. The next line ( svn add
) shows an attempt to add a directory to version control, and the line after it shows that the directory is still not under version control. The last line shows that svn commit
it does nothing, i.e. No commit.
I can confirm that the specified directory has not been added to the repository. Why is this possible and how can I fix it? It's on CentOS 5. Thanks.
source to share