Results 1 to 5 of 5

Thread: How can I upload files to svn in google code

  1. #1
    Join Date
    Apr 2012
    Location
    广州
    Beans
    231
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Smile How can I upload files to svn in google code

    I want to upload some files to the svn. I used svn import command, and it works. But how can I upload some specific files to the repository? Can I reserve the files from older version to the new version because I don't want to import everything every time I submit changes, it's too slow

    Any help? please

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How can I upload files to svn in google code

    Use TortoiseSVN.

    After installing it, create a folder to hold all your files that you will work on.
    Right-click on this folder and choose “SVN Checkout…” and in the “URL of repository:” enter your project’s URL, press OK and enter your Google username and your GoogleCode.com password.
    With that done, right click again on your folder and chose "TortoiseSVN/Add…" and select the files you want to upload to the SVN.

  3. #3
    Join Date
    Apr 2012
    Location
    广州
    Beans
    231
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: How can I upload files to svn in google code

    How about in linux?

  4. #4
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How can I upload files to svn in google code

    Quote Originally Posted by DaviesX View Post
    How about in linux?
    Take a look at this tutorial: How to use SVN (Subversion) on Google Code hosting.

    See if that's what you're looking for.

  5. #5
    Join Date
    Apr 2012
    Location
    广州
    Beans
    231
    Distro
    Ubuntu Gnome 16.04 Xenial Xerus

    Re: How can I upload files to svn in google code

    The link is broken, but I got it now.
    I'll write the solution down so everybody else sees it will know exactly what to do.

    To handle the svn properly,
    First you need to create a repository of the project in YOUR computer. It will become what is called a "working copy". You will use command "svnadmin" to do that
    Code:
    svnadmin create "PATH ON YOUR COMPUTER"
    Then check out your project on Google code, you'll find the command on your project site. That will be something like,
    Code:
    svn checkout https://XXX.XXX.XXX/svn/ "PROJECT NAME" --username="YOUR USER NAME"
    If you change the code, copy it to the repository (working copy), then use
    Code:
    svn add "CHANGED FILES' PATH"
    svn commit "CHANGED FILES' FOLDERS' PATH"
    And that's almost everything about it.

    For more information, here is the website I've got most information from:
    http://civicactions.com/blog/2010/ma...7_simple_steps (How To Set Up An SVN Repository In 7 Simple Steps)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •