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
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.c
to get your changes into the repository.
The fine manual has a full list of the status codes that svn status
uses:
http://svnbook.red-bean.com/en/1.0/re26.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With