Re: git-svn: pulling from local mirror but committing via svn+ssh
From: Mike Frysinger <hidden>
Date: 2016-06-15 22:44:01
On Dec 22, 2007 4:16 AM, Sam Vilain [off-list ref] wrote:
Eric Wong wrote:quoted
quoted
i have local (fast) mirrors of the svn trees i use, so i normally keep everything pointing at those. when i need to commit, i use `svn switch --relocate ...` to flip to the svn+ssh master, and then flop back to the local mirror. it actually works out nicely.Can useSvmProps handle this? I honestly forgot how that stuff was supposed to work with SVK/svn-mirror.It's precisely this use case. If you are syncing with SVN::Mirror, part of SVK, or via svnsync, these tools leave breadcrumbs as svn properties that point to where the repository was copied from. So, in your commit log the message will be the URL of the immediately[*] upstream repository. SVN didn't ever really support clone per se, what did you use to copy the repository?
we publish the raw svn tree via rsync so people can create their own svn mirrors sounds like it's just easier to mirror the original and since this isnt a terribly large repo (~50 meg w/out any scm stuff), that's ok -mike