How to use created repository

Peter Grandcourt peter.grandcourt at gmail.com
Thu Jan 10 08:57:07 GMT 2019


Many thanks Merlijn,
that was very helpful.
I had tried git pull before in to a clean repo but it didn't seem right. I
think I was ending up with just the branch that was the subject of the last
commit made during the conversion.

Thanks

Peter


On Wed, 9 Jan 2019 at 18:05, Merlijn van Deen (valhallasw) <
valhallasw at arctus.nl> wrote:

> Hi Peter,
>
> On Wed, 9 Jan 2019 at 17:24, Peter Grandcourt <peter.grandcourt at gmail.com>
> wrote:
>
>> I have converted a large repository to git using the svn-all-fast-export.
>>  But after the conversation there is no .git folder, and so I can’t run
>> any git commands.
>>
>>
> Could you describe the commands you've used to do the conversion, as well
> as the .rules file used to create the repositories?
>
> It has been a long time since I've used the tool -- the scripts and
> tooling I used at the time are available at
> https://github.com/pywikibot/svn2git/tree/master/scripts-pwb.
> Specifically,
> https://github.com/pywikibot/svn2git/blob/master/scripts-pwb/sync_convert_push
> automates the whole process from updating the SVN mirror to pushing the
> result to a remote git server.
>
> This `total.rules` creates four repositories:
>
> $ ls output
> compat  core  i18n  spelling
>
> and each repository is a so-called 'bare' git repository:
>
> $ ls output/compat
> branches  config  description  HEAD  hooks  info  marks-output_compat
> objects  refs
>
> You can't use such a repository directly, but you can push and pull from
> it, e.g.
>
> $ git clone output/compat new_regular_git_repo
> Cloning into 'new_regular_git_repo'...
> done.
> $ cd new_regular_git_repo
> $ ls
> [... files on master branch ...]
>
>
> I hope this helps!
>
> Merlijn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-scm-interest/attachments/20190110/6f510492/attachment.html>


More information about the Kde-scm-interest mailing list