Re: git svn clone just stops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Jerkovic <mjerkovic@xxxxxxxxxx> wrote:
> Hi all,
> 
> I am new to Git and I am attempting to clone a SVN repository
> (containing approximately 60,000 commits) to Git.
> 
> Using Git v1.6.0.4 with the following command:
> 
> git svn clone https://path/to/svn/repo/trunk project.git
> --authors-file=svnauthors.txt --no-metadata
> 
> the process just ends without any messages and the Git repository is
> empty.  I have attempted this four times already, and each time it has
> stopped after a different revision, so I can't pin it down to a
> particular commit.

Hi Mark,

Any chance you're OOM-ing (extremely large file) or running
out of space somewhere?  What exit code do you get when it exits?

> Has anyone experienced this before?  Is there a log anywhere that
> records what is happening during this process?

Not without error messages of some sort.  git svn was designed with poor
network conditions in mind and clone is resumable, so you can just
resume like this:

   cd project.git && git svn fetch

I wouldn't use --no-metadata at this point, though, as it makes it much
harder to debug/fix things or recover from errors.

Once you're comfortable with it, you should be able to write
"git filter-branch" invocation to remove the metadata lines.

-- 
Eric Wong
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]