subversion

Converting a subversion repo to git

This is not finished. It has been posted for review. When this paragraph is gone, the post is finished. I’ve wanted to convert my subversion repos to git for years. It’s never been a high priority. But here we go. First, I created a local temporary and insure subversion repo with a copy of my real repo. This allows me to mess up and not affect the real repo. I’m sure nothing I’m […]

Converting a subversion repo to git Read More »

Setting up a local subversion repository server with nil security

There is much code for FreshPorts which lives in a subversion repository in my basement. I have long wanted to convert that to git and move it to git hub. In this post: FreeBSD 14.1 subversion 1.14.4 Which reminds me: I need to find a tool which backs up Github repos for me. Preferably everything under an organization. Just in case. I will copy the data from my repo to another host and

Setting up a local subversion repository server with nil security Read More »

Ignore files in a subversion working copy

To ignore files in your subversion working directory, try this. [dan@dev-ingress01:~/scripts]: $ svn st M . ? helper_scripts ? show-config.sh ? test-categories.pl ? test-new-xml-code-single.sh ? test-new-xml-code-starting-from.sh I want to ignore all those files, so: $ svn st > .IgnoreThese Then I edit the file, so only the file names are shown. Something like this: Then tell subversion to ignore that list of files. $ svn propset svn:ignore -F .ignoreThese . property ‘svn:ignore’ set

Ignore files in a subversion working copy Read More »

subversion via ssh passphrase-less key

In general, passphrase-less ssh keys are a security nightmare. It is similar to leaving the key to your front door in the lock. Anyone stumbling across it has access to your house. Similarly, if someone gets your ssh key, and there is no passphrase on it, they can use that key for anything which grants access to that key. Side note: How can you tell if a given ssh key has a passphrase?

subversion via ssh passphrase-less key Read More »

svn: E170000: Unrecognized URL scheme

If you see this message when trying to svn up: then you are missing a subversion compile option. Try this command: cd /usr/ports/devel/subversion && make config Then make sure this option is checked: [X] SERF WebDAV/Delta-V (HTTP/HTTPS) repo access module Then recompile subversion with one of these two commands: portupgrade -f subversion Or portmaster subversion

svn: E170000: Unrecognized URL scheme Read More »

viewvc errors after upgrading subversion

After upgrading subversion on my svn server, I started seeing this errors from viewvc: An Exception Has Occurred Python Traceback Traceback (most recent call last): File “/usr/local/viewvc/lib/viewvc.py”, line 4827, in main request.run_viewvc() File “/usr/local/viewvc/lib/viewvc.py”, line 251, in run_viewvc self.rootpath = vclib.svn.canonicalize_rootpath(rootpath) File “/usr/local/viewvc/lib/vclib/svn/__init__.py”, line 39, in canonicalize_rootpath rootpath = _canonicalize_path(rootpath) File “/usr/local/viewvc/lib/vclib/svn/__init__.py”, line 23, in _canonicalize_path import svn.core File “/usr/local/lib/python2.7/site-packages/svn/core.py”, line 26, in from libsvn.core import * File “/usr/local/lib/python2.7/site-packages/libsvn/core.py”, line 26, in _core

viewvc errors after upgrading subversion Read More »

Converting from cvs to svn

I started playing with cvs2svn, a tool for migrating a CVS repository to Subversion. cvs2svn does more than just Subversion. It also handles git and Bazaar. Why am I moving from cvs? I couldn’t get my existing cvsupd server to run on a new server. Attempts to start cvsupd gave: $ sudo /usr/local/etc/rc.d/cvsupd onestart Starting cvsupd. 2013.06.10 15:35:22 UTC [35995]: CVSup server started 2013.06.10 15:35:22 UTC [35995]: Software version: SNAP_16_1h 2013.06.10 15:35:22 UTC

Converting from cvs to svn Read More »

Scroll to Top