Hi All,

I may be trying to do something that is not possible, but I'm hoping  
that there's a way I can do it cleanly.

I used to run a project in a subversion repo on SourceForge.  I  
stopped using them and moved everything to GitHub, using GitHub's  
"importing from svn?" feature.

All has worked great and I'm very happy.

However, many of my end users are not since they don't use git and  
they used to simply have my project set up as a svn:external in their  
own repository.

While I don't want to patch changes manually into subversion  
(especially SourceForge's repo which is horribly slow), I'm  
considering setting up a cron script that syncs my git repo with the  
old subversion repository once an hour or so in the background.

However, I think I may have fundamental issue.  Since moving to git,  
not one single commit has been made to subversion (this is good).   
Everything has been committed in git and pushed up to github.  But,  
does that fact that I didn't use git-svn to create this repository  
mean that I can't backport all of my past 6 months work to subversion?

Because I don't want to break anything, I've tried experimenting on  
disk:

Create a fresh SVN repository as a test:

svnadmin create file://localhost/Users/chris/test-repo

Import a standard layout:

mkdir layout
mkdir layout/trunk
mkdir layout/branches
mkdir layout/tags

svn import layout file://localhost/Users/chris/test-repo

SVN init my git repo:

cd my-git-repo-working-tree
git svn init -s file://localhost/Users/chris/test-repo
git svn fetch

Try performing a dcommit:

git svn dcommit


I can't get beyond this error however:

Unable to determine upstream SVN information from HEAD history.
Perhaps the repository is empty. at /usr/local/git-1.6.0/libexec/git- 
core//git-svn line 431.

Has anybody tried to retroactively turn their git repo (that was once  
based on a svn repo) into a git-svn repo?  Any pointers would be much  
appreciated.

Cheers,

Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to