Re: git-svn mirror in bare repo
Enrico Weigelt venit, vidit, dixit 23.08.2010 15:13:
Show 12 quoted lines
> * Michael J Gruber <git@drmicha.warpmail.net> wrote:
>> Enrico Weigelt venit, vidit, dixit 23.08.2010 14:24:
>>>
>>> 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.
Show 10 quoted lines
>
>>> 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.