Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: git-svn mirror in bare repo

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:49:22

Enrico Weigelt venit, vidit, dixit 23.08.2010 15:13:
* Michael J Gruber [off-list ref] wrote:
quoted
Enrico Weigelt venit, vidit, dixit 23.08.2010 14:24:
quoted
Hi folks,

is it possible to use git-svn w/ an bare repository (eg. using
an temporary workdir when necessary or directly creating tree
and commit objects w/o going through workdir at all) ?
No.
hmm, can it work with an external workdir ?
You can have the workdir anywhere you like by using the core.worktree
setting. So, if you mind the size requirements you can put it onto some
fast tempdir (tmpfs, say). In fact, if all you do is "git svn fetch"
then git svn may not even notice a missing worktree (would have to try).
"git svn rebase" does need a worktree.
quoted
quoted
I'm running a dozen of mirrors (also from cvs), some from fairly
large and I'd like to get rid of the working copies.
Your only option is a different conversion tool. GSoC resulted in a lot
of code in this direction, but I'm not sure it can do without a workdir.
It is based on svndump
I guess that requires access to the raw repository (on the server),
not just unprivileged svn client access, right ?
In fact, Ram's GSoC project started off with svnrdump which is now part
of the subversion code base (i.e. in their trunk). It is basically
"svndump remote", i.e. a client outputting svn dump format.

Michael

P.S.: We usually keep cc's when replying here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help