Welcome to my website. I am always posting links to photo albums, art, technology and other creations. Everything that you will see on my numerous personal sites is powered by the formVistaTM Website Management Engine.

icon.linkedin.jpgicon.twitter.jpg

  • Checking Out an SVN Repository Over HTTP or HTTPS
    08/31/2012 1:59PM

    To specify the proxy information for svn edit the servers file in the .subversion directory under Linux, or the Subversion directory under the user's directory in Windows.

    Add the following under the [global] section:

    http-proxy-host = someurl.com
    http-proxy-port = 80
    http-proxy-username = uid
    http-proxy-password = passwd
    http-compression = no


  • Updating the URL of a Subversion Repository in a Currently Checked Out Copy of Your Repository
    03/14/2011 8:23PM

    Let's say you have a server who's IP address or domain name changes on which you have a Subversion repository.? Furthermore, you have checked out the copy over an ssh connection using svn+ssh.

    If you have checked-out copies of your repo, and the path to the repo on the file system hasn't changed, but only the IP or domain name has changed you need to issue the following command in the root of your checked out copy:

    svn switch --relocate svn+ssh://user@old.domain/ svn+ssh://user@new.domain/

    Authenticate to the new machine.

    svn update

    Authenticate again.

    Done.

  • Retrieving a Previously Deleted File in Subversion
    12/27/2010 1:06PM

    Let's say that you have deleted a file (or directory) in your checked out copy of a svn repository and then checked it in (committed your change).

    You discover that you really would like to have that file back in your current version of your repo.? You can either us the svn merge command, or copy the file from a previous version of your repo.

    Here is how you can copy the file from a previous version:

    svn rm blah.txt
    svn commit blah.txt -m "removed blah.txt"

    (now you are at version 15)
    Make a number of other commits/changes, and now you want blah.txt back from version 14.

    svn cp url/to/repo/blah.txt -r14 blah.txt
    svn commit blah.txt -m "retrieved blah.txt from r14"

  • Recursively Adding Files Through SVN
    11/19/2009 4:06PM
    svn add * --force
  • Subversion Quick Reference Card
    08/18/2009 9:17PM
    Following is a link to a SVN cheat sheet.? It is also posted to this blog entry as an attachment should the page no longer be available.
    Attachment: subversion-cheat-sheet-v1.pdf 299508 bytes
  • 1 2 >>
Advanced Search

Categories

Archives