Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for when mirror isn't toplevel.

Now we have repos/mirror/etudes/somefolder.
  • Loading branch information...
commit 66b2d02361ef69ca7040c366c59b7a96c5d7c7f2 1 parent ec1d65c
Git User authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  mirror-svn-git
View
3  mirror-svn-git
@@ -43,8 +43,9 @@ popd
git clone --bare $gitsvn_basename $git_basename
pushd $git_basename
# Add in an origin link
+relative_path=`basename $gitsvn_basename`
echo -n "[remote \"origin\"]
- url = ../$gitsvn_basename
+ url = ../$relative_path
fetch = +refs/remotes/*:refs/heads/*
" >> config
# Make trunk the default branch
Please sign in to comment.
Something went wrong with that request. Please try again.