Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn - single file not under version control

Tags:

file

linux

svn

I've added a new file (pdf) to a directory and when I try and commit the new file it is saying that it is not under version control, the directory and every other file in the directory is under version control as when I tried svn add * it listed all the files as being under version control.

What is causing this problem and how do I fix it?

EDIT: OK I am now able to add the file, am I right in saying that the svn add * command added this file under version control thus allowing me to commit the file?

like image 596
Colin747 Avatar asked Nov 06 '13 13:11

Colin747


2 Answers

Yes, the svn add * did that.

You have to svn add Name_of_File any new files before you can svn commit them.

like image 53
phenompbg Avatar answered Oct 13 '22 01:10

phenompbg


you can try something like this...

in the checkout directory run this command

svn add . --force

then just commit it all

svn commit -m "your text" *
like image 20
D.Snap Avatar answered Oct 12 '22 23:10

D.Snap