Posts Tagged ‘svn’
Thursday, June 28th, 2012 by Jesper Rønn-Jensen
In a current project I use a lot of Subversion (svn) from the command-line. Subversion recently has lost terrain to Git for several reasons. But actually, svn is capable of doing many of the things I love from Git. Here are some less known commands I find extremely helpful. Undo last commit svn merge […]
Tags: Code, git, subversion, svn
Posted in Code, Web Development | Comments Off on Forgotten Subversion Commands, Undo, Merge Branches and More
Tuesday, March 1st, 2011 by Jesper Rønn-Jensen
I had to repair a flawed Subversion repository recently (not all files were committed). I had my local repository checked out. This was the flawed part, containing only parts of the folders and files it should. Then, I got a zip file from the machine where it was working. Problem: It contained .svn folders from […]
Tags: subversion, svn, Web Development, windows
Posted in justaddwater.dk | 4 Comments »
Thursday, June 10th, 2010 by Jesper Rønn-Jensen
At a current project I work on, we use a Windows server to run our subversion repository. I wanted to set up the pre-commit hook so that commits with empty comment are automatically rejected. All commit-hook example files that go with Subversion are written in bash (as unix servers tend to be the normal). Here […]
Tags: Code, subversion, svn, windows
Posted in Code | 2 Comments »
Wednesday, July 8th, 2009 by Jesper Rønn-Jensen
Many of my colleagues know svn but are in general not (yet) ready jump over to using Git for bigger projects. Today I had to import my existing Git repository into SVN. I had been working locally with a Git repos and wanted to keep my history before giving access to my colleagues. The guide […]
Tags: Code, git, subversion, svn, Web Development
Posted in Code | 7 Comments »
Monday, March 9th, 2009 by Jesper Rønn-Jensen
For the last months I have been using Git to work with my Subversion repositories. Besides from reducing disk usage, Git also makes my work slightly faster and independent of network access — I can make commits to repository which is sync’ed later when I get online. One challenge though: Using branches I ran into […]
Tags: git, svn, workflow
Posted in Code, git | 8 Comments »
Saturday, February 21st, 2009 by Jesper Rønn-Jensen
My problem this week: I wanted to share some work with a colleague. Unfortunately we have not yet setup our caplab environment with git server. Nor did i want to push this particular project to GitHub or Unfuddle. My alternative was a file-based setup: Each developer’s machine has it’s own Git repository. On my machine […]
Tags: Code, git, ssh, svn, Web Development
Posted in Code, justaddwater.dk, Web Development | Comments Off on Using Local File-based Git — Server Laziness
Saturday, January 17th, 2009 by Jesper Rønn-Jensen
A side benefit of switching from Subversion to Git for source control is that Git does not use shadow files and directories to find out what has changed. I created two checkouts of a svn project — one using traditional svn and one using git (which can actually clone a svn repos — see explanation […]
Tags: Code, git, gitify, svn
Posted in Code | 5 Comments »