Hello Sergei,
> Hello,
>
> I'm importing a huge GIT repository to SVN (a linux tree, first commit
> is dated by 2005).
>
> Is there a way to specify the starting GIT commit for subgit to start
> from? I see there is the "--minimal-revision REV" option for "subgit
> configure", but it is for the backward (SVN to GIT) translation, I
> guess.
No SubGit doesn't this feature in another direction. Mostly this is because usually SVN is
translated to Git, not vice versa. But I can propose a work-around to you: remove old commits in the
Git repository first. By quick googling I've found this recipe
http://stackoverflow.com/a/4909248/1212681
I didn't test it, but according to description this should work. The only side effect is that
commits SHA-1 hashes will be changed.
>
> I tried to import a shallow clone of this GIT repo, but this doesn't
> work:
> ...
> remote: TEMPORARY ERROR:
> remote: Failed to push some refs to Subversion repository.
> remote: Missing commit 4632e0c72df1a0cc2a4af630781b813144f55bf0
> ...
>
> It seems always asks for a commit that is outside of the depth of the
> shallow GIT repo.
Shallow repositories are not supported by SubGit. To use SubGit with a shallow repository translated
it to a not shallow repository (possibly, by "git filter-branch", but actually I have little
experience with shallow repositories, so I'm not sure how; better use the recipe in the link above).
--
Dmitry Pavlenko,
TMate Software,
http://subgit.com/ - git-svn bridge
>
> Could someone please help?
>
> Regards,
>
> Sergei
>
> _______________________________________________
> subgit-users mailing list
>
subgit...@subgit.com
>
http://lists.tmatesoft.com/mailman/listinfo/subgit-users