Thanks for your reply. I finally had enough help yesterday to get git svn
clone to work. (I was being an idiot.)
Regards,
Philip
On Sat, 21 Aug 2021 at 07:38, Reini Urban <reini.urban@???> wrote:
> You can check my GitHub mirror.
> https://github.com/rurban/pcre
>
> Philip Hazel via Pcre-dev <pcre-dev@???> schrieb am Fr., 20. Aug.
> 2021, 15:38:
>
>> I have started to migrate PCRE2 and have fallen at the first hurdle.
>> Having
>> created a GitHub project, I tried to import from the existing Subversion
>> repo, but that didn't work. It didn't seem to be able to find something it
>> could work with.
>>
>> I then tried to use "git svn" to clone the svn repo onto my local machine
>> as a git repo that can then be pushed to GitHub. However, I cannot get
>> this
>> to work. Here's an example of the errors I'm getting:
>>
>> $ git svn clone http://vcs.exim.org/pcre2/code/ --authors-file=users.txt
>> --no-metadata --prefix "" -s pcre2
>> Session URL does not match expected session URL: Repository moved
>> permanently to 'https://git.exim.org/pcre2/code' at
>> /usr/share/perl5/vendor_perl/Git/SVN.pm line 310.
>>
>> It has set up the new pcre2 directory as a git repo, but of course it's
>> empty. Does anybody know how I should proceed? Googling hasn't produced
>> anything helpful yet.
>>
>> I all else fails, I can populate the new local repo by hand, I suppose,
>> and
>> then push to GitHub.
>>
>> Regards,
>> Philip
>> --
>> ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
>>
>