Latest Updates: subversion RSS

  • Articles

    Elan's SVN (Subversion) Tshirt

    Stii 5:19 pm on February 5, 2009 | Comments: 1 Permalink | Reply
    Tags: subversion, ,

    I’m so jealous! SVN being one of my favorite tools, Elan wore his SVN tshirt to work today and I want one! In all fairness, it is not REALLY meant to be a subversion tshirt, but for a geek like me it is! Supposed to be Sex Violence Nudity I think.

    Subversion tshirt

    Welcome back! You should subscribe to my RSS feed here.
    You should follow me on Twitter here
    You should follow me on Gatorpeeps here.

    Save Cape Town City Ballet
     
  • Articles

    FTP is crap! So they say in Cape Town

    Stii 8:00 am on December 15, 2008 | Comments: 0 Permalink | Reply
    Tags: , , ftp, , subversion,

    FTP is crap. At least someone in Cape Town seems to think so! Found this little gem in a shopping centre in Cape Town.

    ftp

    In all fairness, its not that I believe it is crap, its just that there is so much better ways to update sites. My preference at the moment is:

    I do understand that if you host sites on a shared host you don’t always have these options and in lots of instances FTP is the only option available to you. I feel your pain :(

    Save Cape Town City Ballet
     
  • Articles

    I love SVN

    Stii 3:52 pm on December 3, 2008 | Comments: 4 Permalink | Reply
    Tags: , subversion, ,

    The past two days have been a complete nightmare… I’m on an important deadline when I noticed some very strange posts appear on Afrigator. Posts from sites like Mashable and Boing-Boing. Wow! They like Afrigator that much that they’ve subscribed?! Although I’d love to believe that is the case, it simply was not true… I digress.

    I started delving into our parser scripts trying to root out the problem on ground level. Make changes left, right and center. Testing, redo-ing, answering the phone, answering calls on Skype from my sweet love of my life, losing track of what I’ve done and BAM! things are a complete mess…

    So, what would be the quickest solution? Start over and do it properly. At least, for me that is sometimes the best option. Now, if you’re having nightmare days, you’ll know when it happens that you bugger shit up so badly that you’ve completely forgot to make backups before you started breaking your months of hard work. Its that sickening sinking feeling…

    Fortunately, Subversion (SVN) is not only for keeping revisions of your software, but actually allows you to go back to a snapshot of your code right about where you started doing the dumb stuff. There are a number of ways to recover, although this was what I did as a quick and dirty solution. Took me less than a minute.

    Find what the revision number is before you mucked it up.
    Export that revision to a different directory.

    svn export http://svn.afrigator.com/trunk/ -r 4815
    

    Copy the source file back to your working repository.
    Check it in

    svn ci -m "Fix the mess I made"
    

    Viola! You’re good to go and start messing it up from scratch again!

    Now I do know that the best way to prevent this from happening is to never have it happen in the first place, but hell, if and when it happens, be thankful that you’ve got SVN!

    Save Cape Town City Ballet
     

About Me

Software developer at Afrigator.com Love Python, do PHP.
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
esc
cancel