How to use SVN with Google code

Sharing is caring...Share on FacebookShare on Google+Tweet about this on TwitterShare on RedditEmail this to someone

1. Download TortoiseSVN

2. Installing  TortoiseSVN and restart your computer.

3. To get your password go to:


4.You should now see this new items below if you press right-click on any empty place in the explorer or on any folder


5. Create a New Folder to hold all your files that you will work on.

6. Right-click on this folder and choose “SVN Checkout…”.

7. In the “URL of repository:” Enter your project’s URL in this formate “https://[ProjectName]”      e.g.””


8. Press OK and Enter your Google username and your password - in this case “Bx7QS3by2rX9″ -


9. In the folder add a new text file “test.txt”

Your ads will be inserted here by

Easy AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

10. Right-click /TortoiseSVN /Add…

11. Select the files you want to upload to the SVN.


12. You should see this in case of a successful uploading.


13. Note the RED X meaning that this file isn’t up-to-date with the SVN.


14. Right-click on the text file and select “SVN Commit…” and enter any message you want to write.


15. This is what you should see after a successful commit.


16. Note the green check mark on the file meaning it is up-to-date with the SVN.



  • If you ever make a mistake and don’t know what to do with the file, right click on it, go to revert. it’ll take you to the head revision.
  • Before modifying anything, make sure you have the latest files from the svn by going to file, svn update.
  • If someone modified the file that you are trying to upload between the time you downloaded it and now, you will get an error. You have to run an SVN update and it will merge the changes you’ve made with the ones in the SVN repository. Then check to make sure the file works correctly, then commit the merged file.

16.Go to your project web page e.g. and go to “Source” tab then “Browse”  subtab then choose “Trunk” from the list on your left


Let me know what you think :)

Loading Facebook Comments ...
Loading Disqus Comments ...

36 thoughts on “How to use SVN with Google code

  1. thanks alot
    it is a very very very useful explain that i need it

    it helps me very much
    thanks again

  2. I was dealing with this for 3 days… The Google’s and SVN’s help is not good. Your tutorial is just what I needed. Thank you!

      1. Although your instructions are very good, it did not explain how to create the initial Google source repository.

        Berry S.

  3. I wished we used anything this semester in SE course other than !!! it is a crime against humanity :D
    I want to try this Google code soon

  4. Hi Mostafa,

    That’s a great article, thanks.

    I am trying to checkout code from Google code into my work PC. This is my first time to use Google code but not my first time on SVN.

    I am getting the error: OPTION “” could not connect to server (

    I tried turning off all firewalls, and tried to change to http instead of https (this should make it readonly right?). In call cases same error appeared.

    Any ideas?

    1. Hi Bishoy,

      It’s a proxy problem, check TortoiseSVN’s settings and check “Network” (or something similar) and enter your proxy settings. I hope it helps.

  5. You’ve made some good points there. I looked on the web to find out more about the issue and found most individuals will go along with your views on this site.

  6. When im done with option number 7 i didn’t asked me to ID and password and when i add cmooit and pressed ok my commit is failed and then this message is showing

    Commit failed (details follow):
    Server sent unexpected return value (405 Method Not Allowed) in response to
    MKACTIVITY request for ‘/svn/!svn/act/87759cc9-e630-864f-a208-dfe66f32721b’

    what to do kindly help me

  7. I usually do not leave a response, but I browsed a few of the remarks on How
    to use SVN with Google code « Mostafa Zaher’s Blog. I actually do have a few questions for you if you do not mind. Could it be just me or does it look like some of the responses come across like they are left by brain dead people? :-P And, if you are writing at other sites, I’d like to follow everything fresh you have to post.
    Could you make a list of all of your social community sites like
    your linkedin profile, Facebook page or twitter feed?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>