Tag Archives: svn

migrating a SVN sub-directory to GIThub

Follow-up on a previous about migrating an entire SVN repository to github keeping the history: For a sub-directory within a SVN, you should use git svn clone svn+ssh://path/to/repo/ –trunk=trunk/directory –branches=branches/*/directory –tags=tags/*/directorygit svn clone svn+ssh://path/to/repo/ –trunk=trunk/directory –branches=branches/*/directory –tags=tags/*/directory without the –stdlayout … Continue reading

Posted in Computer Science | Tagged , | Leave a comment

Installation of Python 2.6 error fixed

I wanted to install python2.6 in a virtual environment. The first step was to compile python 2.6 executable from the source code. Once the source are extracted, just type: ./configure –prefix=<PATH_WHERE_TO_INSTALL> make./configure –prefix=<PATH_WHERE_TO_INSTALL> make If you are lucky, everything is … Continue reading

Posted in Python | Tagged , | 10 Comments

How to send svn diff to meld

On one hand meld provides a nice GUI to visualise the differences between 2 files. On the other hand, with SVN diff command, you can obtain the differences between 2 versions of the same file so you end up with … Continue reading

Posted in Linux | Tagged , | 7 Comments

svn: can’t upgrade

I’ve recently update my distribution and copied back an old SVN repo into the new distributio. This led to issues with respect to different SVN version. The old one used SVN 1.6 and the new one is 1.7 In general, … Continue reading

Posted in Computer Science, Linux | Tagged | Leave a comment

SVN: how to clean up a directory from unversioned files

Here is the command to delete all the files in a SVN directory that are not in the SVN server repository. The first part (svn status) returns all files with the ? tag (meaning they don’t belong to the repository). … Continue reading

Posted in Linux | Tagged | 1 Comment

quick SVN tutorial for end-users

There are lots of resources on the web about SVN. so, this page is just a quick summary of the 4-5 commands you will need to start with. The following commands are for linux users (and therefore Mac users who … Continue reading

Posted in Computer Science | Tagged | Leave a comment

SVN properties

SVN allows to store some useful keywords which can be set, the value of which will be substituted for ‘tags’ in the file itself. For instance, if the Id keyword is set, place this line in your code __revision__ = … Continue reading

Posted in Computer Science, Linux | Tagged , | 5 Comments

SVN: How to revert (roll back) to a previous version ?

One reason to use SVN tool is to be able to revert to a previous version. How do we do that ? Imagine that the latest version (the one on the HEAD) is not what you want anymore, but that … Continue reading

Posted in Computer Science | Tagged | Leave a comment