I have a file in my repository that has been modified. i.e it shows ‘M’ next to the file when I hit ‘svn st’. How do I get it to show an ‘A’ so I can svn commit it?
I’ve tried svn update "filename.c" and it doesn’t do the trick.
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The ‘A’ status means, more or less, “this is a new file that is not in the repository yet but will be added to the repository in the next commit”. You’re getting an ‘M’ status (modified locally) so you just need to
svn commit filename.cto get your changes into the repository.The fine manual has a full list of the status codes that
svn statususes: