On Mon, Jan 09, 2012 at 03:52:02PM -0800, Andreas Kupries wrote: > On 1/9/2012 12:16 PM, Joerg Sonnenberger wrote: > >On Sun, Jan 08, 2012 at 12:42:17PM -0800, Russ Paielli wrote: > >>I am wondering about fossil/git interaction. Everyone else seems to be > >>using git and github. I see that fossil can import from, and export to, > >>git. If I understand it correctly, however, that is only for creating a new > >>fossil or git repository. Shouldn't it be possible to pull from, or push > >>to, a git repository using fossil? If that were the case, one could use > >>fossil seemlessly with git. Wouldn't that be the ideal situation? Or am I > >>missing something? > > >You can easily provide a git mirror of a fossil repository. It can be > >somewhat painful for large repositories due to bugs in git's fast-import > >code, but it certainly works. The NetBSD src and pkgsrc repositories I > >maintain on github are created that way. > > Are you willing to share with us whatever scripts you are using for that ?
For the git export? It's just "fossil export | git fast-import --force" followed by "git push || git push -f". Joerg _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users