Skip to content

Instantly share code, notes, and snippets.

@simonbondo
simonbondo / convert-svn2git.ps1
Created November 26, 2019 09:40
Converts a collection of projects from a SVN mono-repo to separate git repos.
# Where svn.exe can be found
$svnPath = 'C:\Data\svn'
# Where the resulting git repositories should be created
$gitRepoPath = 'C:\Data\svn\git'
# The branch that should become the default branch in the git repository
$defaultBranch = 'trunk'
$removeTempRepository = $true
# The URL to the SVN server (can be file:///)
$svnRepoUrl = 'file:///c:\Data\svn\SVNRepo'
# The relative paths of each project inside the SVN repository, where 'trunk', 'branches' and 'tags' folders can be found
1. The butcher backed up into the meat grinder and got a little behind in his work.
2. Jill broke her finger today, but on the other hand she was completely fine.
3. A hungry traveller stops at a monastery and is taken to the kitchens. A brother is frying chips. 'Are you the friar?' he asks. 'No. I'm the chip monk,' he replies.
4. A hole has been found in the nudist camp wall. The police are looking into it.
5. Time flies like an arrow. Fruit flies like a banana.
6. Atheists don't solve exponential equations because they don't believe in higher powers.
7. The little old woman who lived in a shoe wasn't the sole owner - there were strings attached.
8. England doesn't have a kidney bank, but it does have a Liverpool.
9. If you pour a bottle of dressing into another bottle of dressing, is that cross-dressing?
10. I'm not a big fan of archery. It has too many drawbacks.