[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-scm-interest
Subject:    Re: GIT to SVN Migration Error
From:       Anil Kumar <anilk () medhainternationalllc ! com>
Date:       2020-07-23 18:21:53
Message-ID: 30e41c3b-fdc2-034f-48c2-4bd63691d2bf () medhainternationalllc ! com
[Download RAW message or body]

Thanks a lot for replay Jeremy.

am fix this issue doing when crash while clone , i will go to temp repo 
and enter the command "git svn fetch" it will resume from last revision.

Thanks,

anil.

On 23-07-2020 22:09, Jeremy Whiting wrote:
> Hey Anil,
> 
> There's a pretty thorough guide about how to get and use svn2git here: 
> https://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git but the major 
> points are a) you need the subversion repository locally on your hard 
> drive, not just an svn checkout, but the actual svn repository files 
> from the server. b) You write rules about what belongs where in git if 
> any paths need splitting or stuff belongs in different git 
> repositories. If you're just migrating one project directly from one 
> svn repo to one git repo it's pretty straightforward.
> 
> I haven't used svn2git in years, but those are the basics from what I 
> remember.
> 
> Hope that helps,
> Jeremy
> 
> On Thu, Jul 23, 2020 at 9:33 AM anilkumar 
> <anilk@medhainternationalllc.com 
> <mailto:anilk@medhainternationalllc.com>> wrote:
> 
> Hello,
> 
> Am anil, am trying to migrate SVN to GIT using git svn commands
> ,but in the middle of process I get error like
> 
> ------------------
> *libsvn: Out of memory - terminating application.*
> 
> *    234 [main] perl 42644 cygwin_exception::open_stackdumpfile:
> Dumping stack trace to perl.exe.stackdump*
> 
> -------------------
> 
> After I research in stack overflow  ( link
> <https://stackoverflow.com/questions/40999651/migrating-large-svn-repo-to-git-failing-out-of-memory-exception>)I
>  found answer that use svntogit tool instead of git svn. Am not
> familiar with that. Didn’t find any documentation to follow. I
> want to migrate whole repo without loosing history.
> 
> Can anyone help me how to use svn2git tool to do this.
> 
> Thanks in advance.
> 
> Thanks,
> 
> Anil.
> 
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>
> for Windows 10
> 


[Attachment #3 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thanks a lot for replay Jeremy.</p>
    <p>am fix this issue doing when crash while clone , i will go to
      temp repo and enter the command "git svn fetch" it will resume
      from last revision.</p>
    <p>Thanks,</p>
    <p>anil.<br>
    </p>
    <div class="moz-cite-prefix">On 23-07-2020 22:09, Jeremy Whiting
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADWV2K52gZG9QnmOWkK8eW4RZ=HENrRtE1RZNRcaKYd9AHp5Tw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hey Anil,
        <div><br>
        </div>
        <div>There's a pretty thorough guide about how to get and use
          svn2git here: <a
            href="https://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git"
            moz-do-not-send="true">https://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git</a> \
but  the major points are a) you need the subversion repository
          locally on your hard drive, not just an svn checkout, but the
          actual svn repository files from the server. b) You write
          rules about what belongs where in git if any paths need
          splitting or stuff belongs in different git repositories. If
          you're just migrating one project directly from one svn repo
          to one git repo it's pretty straightforward.</div>
        <div><br>
        </div>
        <div>I haven't used svn2git in years, but those are the basics
          from what I remember.</div>
        <div><br>
        </div>
        <div>Hope that helps,</div>
        <div>Jeremy</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Jul 23, 2020 at 9:33
          AM anilkumar &lt;<a
            href="mailto:anilk@medhainternationalllc.com"
            moz-do-not-send="true">anilk@medhainternationalllc.com</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div lang="EN-IN">
            <div class="gmail-m_-4119758849481810830WordSection1">
              <p class="MsoNormal">Hello,</p>
              <p class="MsoNormal"> </p>
              <p class="MsoNormal">Am anil, am trying to migrate SVN to
                GIT using git svn commands ,but in the middle of process
                I get error like</p>
              <p class="MsoNormal">------------------<br>
                <b>libsvn: Out of memory - terminating application.</b></p>
              <p class="MsoNormal"><b>    234 [main] perl 42644
                  cygwin_exception::open_stackdumpfile: Dumping stack
                  trace to perl.exe.stackdump</b></p>
              <p class="MsoNormal">-------------------</p>
              <p class="MsoNormal">After I research in stack overflow  (
                 <a
href="https://stackoverflow.com/questions/40999651/migrating-large-svn-repo-to-git-failing-out-of-memory-exception"
  target="_blank" moz-do-not-send="true">link</a>)I
                found answer that use svntogit tool instead of git svn.
                Am not familiar with that. Didn’t find any documentation
                to follow. I want to migrate whole repo without loosing
                history.</p>
              <p class="MsoNormal"> </p>
              <p class="MsoNormal">Can anyone help me how to use svn2git
                tool to do this.</p>
              <p class="MsoNormal"> </p>
              <p class="MsoNormal">Thanks in advance.</p>
              <p class="MsoNormal"> </p>
              <p class="MsoNormal">Thanks,</p>
              <p class="MsoNormal">Anil.</p>
              <p class="MsoNormal"> </p>
              <p class="MsoNormal">Sent from <a
                  href="https://go.microsoft.com/fwlink/?LinkId=550986"
                  target="_blank" moz-do-not-send="true">Mail</a> for
                Windows 10</p>
              <p class="MsoNormal"> </p>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic