Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No changes to commit Android studio SVN

I have an Android project on Android studio and I am trying to put it in my subversion repo and do commits. First I enabled version control in the VCS drop down menu in Android studio and imported my project into my subversion repository. The project is there and I can see it. When I make some changes to my code and try to commit it, it says "No changes detected". All my files are turned red too. Am I not doing something correctly? How do I do this?

like image 386
user3853858 Avatar asked Aug 08 '14 19:08

user3853858


People also ask

How do I commit a SVN file in Terminal?

Select any file and/or folders you want to commit, then TortoiseSVN → Commit.... The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file.

What is difference between commit and update in SVN?

Commit uploads your changes on the CVS / SVN server, and Update overwrites the files on your localhost with the ones on the server.

What does SVN commit mean?

Name. svn commit (ci) — Send changes from your working copy to the repository.


1 Answers

By default, Android Studio doesn't mark local actions as repo actions.

To mark a newly created file as an SVN add, you can right-click on the file (either in the hierarchy or the editor tab) -> Subversion -> Add. As you can imagine though, this is quite cumbersome to do for every single file.

To change the setting so that newly created files are instantly marked as a repo add, go to Preferences -> Version Control -> Confirmation -> Add silently (under the 'When files are created' category).

like image 146
user3829751 Avatar answered Oct 05 '22 12:10

user3829751