Tag Archives: svn

HOWTO set new SVN server in git-svn

These days, we migrated our SVN server to a cloud VM, and one of the needed tasks is to switch also my GIT repositories. An easy approach is to rebuild them, but it has one major drawback: it is possible only if your GIT repositories don’t include uncommitted revisions.  In these cases, you will lose them all. Since I have several unaligned GITs, I needed … Continue reading HOWTO set new SVN server in git-svn »

HOWTO Convert SVN repository to GIT

In my previous post, I wrote about using GIT with an SVN server pathing across different processes. One of these was cloning an SVN repository.  This topic can be used to convert an SVN repository to GIT one with all its revision history. The Process We can use the cloning command to set up the starting revision of our new GIT clone, by the following … Continue reading HOWTO Convert SVN repository to GIT »

HOWTO use GIT with SVN server

Introduction During COVID-lockdown, one of the challenges is to understand how to smart work as best as possible. One of my problems is that I haven’t remote access to the SVN server. I began to wonder if and how GIT can alleviate my smart work problems. The found answer is: yes, it can. Both repository types have their strong and weak points. My personal impression … Continue reading HOWTO use GIT with SVN server »

HOWTO quickly rename folders from _svn to .svn

Once upon a time, someone had the idea to use ‘_svn’ for a Windows SVN sandbox working folder instead of the standard ‘.svn’. I suppose, that the idea was to use a more Windows-aligned folder name. By using TortoiseSVN, it was quite transparent. Years passed, and the idea was dropped, and these sandboxes aren’t working anymore by default. TortoiseSVN still provides a hidden registry setting … Continue reading HOWTO quickly rename folders from _svn to .svn »

HOWTO purge undesired files from your SVN repository

Several months ago, I wrote a post about how to regenerate a SVN repository. In this post I will show how to purge undesired files from it (for example compiler intermediate files, …) on a Windows system. This may be needed to keep the repository size under control. One thing to care about is that once committed, a file is stored permanently in a repository.  … Continue reading HOWTO purge undesired files from your SVN repository »

HOWTO Upgrade a SVN repository

Sometimes you may need to upgrade or regenerate an SVN repository, because it may be outdated and/or damaged. After some investigations, I discovered that it is possible by a simple batch file like the following one: :@echo off set svnadm=”<path>\svnadmin.exe” set repo_out= “<full pathname of the old repository>” set repo_in=”<full pathname of the new one>” set file_dump=”<path>\repo.dump” %svnadm% dump %repo_out% > %file_dump% %svnadm% load %repo_in% … Continue reading HOWTO Upgrade a SVN repository »