tlessh

How To Access Google Code SubVersion(SVN) Server

In Google, Subversion, Tutorial on October 25, 2008 at 12:11 am

By Eddy Tlessh 2008.05.12

This is a brief tutorial to access Google Code SVN Server. Google Code is very fast and reliable for SVN Repository.

Subversion (SVN) is a version control system initiated in 2000 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation.

I am using one of the sample project that have been done for NUS ISS M.Tech Course. ARS.Net is a simple program for Flight Reservation. Database structure and content are inspired from SAP sample of S_FLIGHT.

Like other services from Google , Google Code required Google User name and password, with some notes:

  • username = gmail username without @gmail.com
  • password of Session = Login to Google services (e.g gmail) firstly to keep session in browser and next goto App. SVN url e.g http://code.google.com/p/arsnet
  • SVN password = SVN Client will use this password to authorize user to access SVN Server.

SVN password can be found under Settings link , see picture below:

One of powerful and fast SVN Client is TortoiseSVN which can be downloaded on http://tortoisesvn.net/downloads.

Below is step by step to use SVN Server of Google Code. The End target is we can do a check out and check it of SVN.

1. Create Workspace Folder and Checkout SVN

Create a folder using Windows Explorer, right click and choose SVN Checkout…

TortoiseSVN will ask an url, type an Application Project svn from googlecode, e.g https://arsnet.googlecode.com/svn/trunk/. On checkout directory enter workspace location which created on Step 1 e.q: D:\workspaces\VisualStudio.Net\ARS.Net

2. Setting up Firewall Proxy (optional)

This step is optional, if there are any firewall existed, it is needed to define a proxy and port for TortoiseSVN to access internet

3. Checkout SVN and User Authentication

If TortoiseSVN is succeeded to connect to google code, It will required to key in user (w/o @gmail.com) and SVN password (see Step1 to retrieved a SVN password). Tick Save authentication checkbox so it will not keep asking user/password for every Checkout.

4. Add File or Folder to SVN

To add file or folder to SVN , on folder/file right click press TortoiseSVN – Add…

Select folder or file to be added

If it is success on add, it will show the result. but the concrete file is still not in SVN Server.

5. Commit Changes

Every operation on SVN Client such as Add or modify, SVN requires to commit to send a file to repository server.

It is a good practice to give an informative comments.

Commit is succesfully done.

With these few steps, you have done a basic use of SVN repository (standar operation that frequently done).

Accessing Google SVN from behind Proxy

For accessing SVN from behind firewall proxy, you need to know what is your proxy addess, port , user id and password. Usually this information can be found in your browser setting like IE is in menu Tools – Internet Options – Connections Tab – LAN Setting .

The way to add proxy setting, is right click on SVN folder and from context choose Tortoise SVN – Settings as seen below:
svn-proxy01

And from Tortoise SVN setting choose Network [1] and check the Enable Proxy Server[2], write down the information which you have in Browser proxy recently[3]. Some times a proxy is without user id or /password, then in this case just left it blank.

svn-proxy02

Clearing Authentication Cache.

This TortoiseSVN – Setting is to clear SVN user id/password after you authenticate it. It is very useful if one computer is used by more than 1 SVN user id. In Settings , choose Saved Data, click button Clear on Authentication data.

svn-clearauth01

I welcome any comments and questions.

save

About these ads
  1. nice, that helped a lot!

  2. sounds nice, but i tried even entering proxy and details but it is complaining about SSL connection through pfoxy server. parse challenge.

    any tips / ideas would be helpful, even right now i m trying to understand SSL >> rocket sceience

    • Hi Lala,
      You could look at the section of how to access Google SVN from behind proxy. Try to ensure the requisite of proxy id/pwd and port has been set correctly.
      I also sometimes access it from behind proxy and so far i can access it well.

  3. thanks for quick reply, i think error i am facing is because of BLUECOAT (k9) as my office is using their services and while searching i noticed that “bluecoat” has some issues with tortoiseSNV>>
    thanks again

  4. thanks for the guide, it helped a lot

  5. Nice guide, thanks for sharing this simple tutorial.

  6. Thank you very much.
    I couldn’t have done a better tutorial myself.

  7. Thanks for the information. Very userful

  8. Thanks for pointing out that you have to use a generated SVN password!

  9. fantastic! only a problem. when i commit i get this message:

    Error: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request for ‘/svn/!svn/act/1b1a2063-69d9-d343-8557-4f994154eaca’

    i am at one step to the happiness!!!

    • Hi Luciano,
      The svn path is case sensitive i.e https != http.
      Also check the repository name: /myrepo is not equal to /MyRepo

  10. i keep getting this error message and i’ve followed
    this page on how to set up subversion using tortoise
    Please help
    OPTIONS of ‘https://zakprjelen3009.googlecode.com/svn/trunk/zakprjelen3009′:
    Could not resolve hostname `zakprjelen3009.googlecode.com’: The requested name
    is valid and was found in the database, but it does not have the correct
    associated data being resolved for.
    (https://zakprjelen3009.googlecode.com)

  11. hey there and thank you in your info ? I’ve definitely picked up something new from right here. I did however experience some technical points using this site, since I experienced to reload the site lots of occasions previous to I may just get it to load properly. I were thinking about if your web host is OK? Now not that I’m complaining, however slow loading cases instances will sometimes have an effect on your placement in google and could harm your high-quality score if advertising and marketing with Adwords. Anyway I’m adding this RSS to my email and can look out for much extra of your respective intriguing content. Ensure that you replace this once more soon..

  12. I’ve been surfing online greater than 3 hours as of late, yet I never found any attention-grabbing article like yours. It is pretty value sufficient for me. In my opinion, if all web owners and bloggers made good content as you did, the net shall be much more helpful than ever before.

  13. I wonder the reasons why you labeled this specific post,
    “How To Access Google Code SubVersion(SVN) Server DevWatch”.

    No matter what I loved it!Many thanks-Fiona

  14. I personally wanted to discuss this particular blog, “How To Access Google Code SubVersion(SVN) Server | DevWatch” with my
    own pals on facebook itself. I personallysimply desired to distribute ur wonderful publishing!

    Thx, Cole

  15. Thanks for great posting on svn tutorial.!!

  16. I do believe all of the ideas you have presented to your post.
    They’re very convincing and can certainly work. Still, the posts are very brief for beginners. May you please extend them a bit from subsequent time? Thank you for the post.

  17. Woah! I’m really loving the template/theme of this blog. It’s simple, yet effective.
    A lot of times it’s challenging to get that “perfect balance” between usability and appearance. I must say you have done a excellent job with this. In addition, the blog loads very quick for me on Internet explorer. Excellent Blog!

  18. What’s up to every single one, it’s truly a pleasant for me to go to see this site, it includes valuable Information.
    Extra Resources

  19. Pretty! This was a really wonderful post. Many thanks for providing this info.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: