On Tue, 2008-11-25 at 13:07 +0100, jf barraud wrote:
Should I do bzr branch lp:inkscape like indicated on our inkscape launchpad web page? if yes, how are sourceforge svn rep and lp:inkscape related? lp:inkscape does not look like being uptodate.
So the branch that is picked up there is the one that is built by the SVN Importer in Launchpad. Which is useful, but the problem is that it doesn't populate the data that bzr-svn needs to do it's job. It's confusing, I've complained, they're working on migrating over to using bzr-svn for everything.
The import takes a while with bzr-svn, but then you're done. You can grab my branch which is a bzr-svn branch which will help a little bit. It's here:
bzr branch lp:~ted-gould/inkscape/trunk
I think that should help some, but I'm not sure if bzr-svn still needs to build a separate cache or not.
How do I commit to svn?
If you're using a bzr-svn based import you can just push to it:
bzr push https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk
(more over, this seems to break buildtool under windows, because of svninfo... but this is another story)
I can't help there...
Should I use bzr-svn to checkout the sourceforge svn repository? hm. It's extremely slow.
Yeah, it's getting more data than is typically downloaded and the SF servers are less than ideal. What I do to compensate is create a local mirror in a shared repository. Kinda like this:
cd Development mkdir inkscape bzr init-repo --rich-root-pack inkscape cd inkscape bzr co https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk trunk cd trunk bzr bind https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk
Then if I want to create a branch to work on I do:
cd Development/inkscape bzr branch trunk mywork
And when I'm done with mywork:
cd Development/inkscape/trunk bzr merge ../mywork bzr commit -m "Lots of work"
And that re-uploads it to SVN automatically (because of the bind). To update trunk and my branch I do:
cd Development/inkscape/trunk bzr update cd Development/inkscape/mywork bzr merge ../trunk bzr commit -m "Merging from trunk"
Can I still register my branches in launchpad then?
Yes, any bzr branches can be on LP. Typically I have several. I use it as backup :)
--Ted