digecoders team mailing list archive
-
digecoders team
-
Mailing list archive
-
Message #00001
using both bzr and svn for gecode
Here is a message for archival purposes.
Using bzr to manage gecode's svn code base is easy... but it is a little
more tricky when one doesn't have permissions to the repository's root
directory. so here a description of what I had to do:
1. install the bzr-svn plugin
2. preferably, create a shared (bzr) repository for gecode branches:
bzr init-repo gecode.repo
3. disable the cache and explicitly specify the layout.
in ~/.bazaar/subversion.conf modify the section corresponding to the
repository's UUID (which you can find with svn info):
[64335634-5103-0410-b293-fc3d331e086d]
branches = gecode/trunk
use-cache = False
locations = svn+https://svn.gecode.org/svn
4. in the shared repo, checkout the code:
cd gecode.repo
bzr co svn+https://svn.gecode.org/svn/gecode/trunk trunk.svn
this takes a really long time.
5. you can now create your own branches:
bzr branch trunk.svn my.feature
You have to do more, if you want to preserve the information about
authors rather than merely committers... maybe I'll eventually put that
in an other message.
Cheers,
--Denys