How to use SVN with Google code

1. Download TortoiseSVN
http://tortoisesvn.net/downloads
2. Installing  TortoiseSVN and restart your computer.
3. To get your GoogleCode.com password go to:
http://code.google.com/hosting/settings
svn3
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
svn1
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].googlecode.com/svn/trunk”      e.g.”https://test.googlecode.com/svn/trunk”
svn22
8. Press OK and Enter your Google username and your GoogleCode.com password - in this case “Bx7QS3by2rX9″ -
svn41
9. In the folder add a new text file “test.txt”
10. Right-click /TortoiseSVN /Add…
11. Select the files you want to upload to the SVN.
svn5
12. You should see this in case of a successful uploading.
svn6
13. Note the RED X meaning that this file isn’t up-to-date with the SVN.
svn7
14. Right-click on the text file and select “SVN Commit…” and enter any message you want to write.
svn81
15. This is what you should see after a successful commit.
svn9
16. Note the green check mark on the file meaning it is up-to-date with the SVN.
svn10

Notes

  • 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. http://test.googlecode.com and go to “Source” tab then “Browse”  subtab then choose “Trunk” from the list on your left
svn121

sumber:http://mzaher.wordpress.com/2009/03/02/how-to-use-svn-with-google-code/


How to use SVN with Google code
Posted by: Risalahati Dedic Ahmad Updated at: 18:57
How to use SVN with Google code RISALAHATI , By Risalahati, Published: 2012-05-14T18:57:00+07:00, Title: How to use SVN with Google code, Rating5 of 8765432 reviews

No comments:

Post a Comment