0

I have created the trunk, branch, tag folder one by one. Also I have checkout the empty URL .svn file into trunk folder inside. Its not coming properly.

Termininja
  • 6,620
  • 12
  • 48
  • 49
harikrishnan
  • 1,985
  • 4
  • 32
  • 63

2 Answers2

2

I found the steps to commit the studio code into Tortoise SVN Server:

Very First Time Commit the code in to SVN Repository:

Create Seperate SVN folder at any drive -

  • Inside Create branches,tags,trunk folders one by one seperately

  • Inside trunk, pls checkout with empty URL FIRST.

  • then, copy your very first time source code and paste it here.

  • build - need to add this folder in to Ignore list.

  • then, right click and select svn commit - select all and enter your message and give ok..

Reference Link:

http://blogs.wandisco.com/2011/10/17/how-to-install-tortoisesvn-and-make-your-first-repository-change/

Error "can't use subversion command line client : svn" when opening android project checked out from svn

How to install Tortoise SVN in to Android Studio 2.1 Latest Version

https://tortoisesvn.net/downloads.html

http://www.wikihow.com/Install-and-TortoiseSVN-and-Make-Your-First-Repository-Change

http://www.programering.com/a/MDO1czMwATU.html

Community
  • 1
  • 1
harikrishnan
  • 1,985
  • 4
  • 32
  • 63
  • Thanks a lot for this. I am not using svn plugin in android studio, and doing it manually as you said. I was getting problems for build directory but now I have added it in ignore list. And this is working perfect – AnujDeo Mar 22 '17 at 10:17
-1

My suggestion is instead of using SVN plugin for android, do it manually because:

  1. Svn plugin will make studio load slower and degrade your pc performance
  2. If multiple people are working on same project then more chances of conflicts will arise. When you do it manually, you always have a backup copy available.

You can do it by using some GUI based SVN System like TortoiseSVN as below:

  1. First, You will need SVN software installed on your computer and have an SVN repository configured.
  2. Then you will checkout the project from your server. This will create a new folder called “projectname” on your computer and download the project from your server (at this point it is most likely an empty folder).List item
  3. Now you can then copy or create your android project in this directory
  4. When you are happy with your changes you can commit your changes to the svn to create a new version (Please include messages with each commit.)

The source of above information is here. Check it for more details.

I use TortoiseSvn TortoiseSVN on my windows machine for android projects.

AnujDeo
  • 333
  • 1
  • 4
  • 13