bzr-svn branch/tag integration problem
Jelmer Vernooij
jelmer at samba.org
Thu Jul 30 16:29:47 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Greg,
Greg Hanson wrote:
> I've been playing around a bit with setting up a custom layout, but
> I keep running into problems. When I set up a layout like this:
>
> tags = /*/issues/tags/* branches = /*/issues/branches/*
>
> and try to push into svn, I get an assertion error on line 171 of
> tags.py. From the looks of the code, it seems that the get_tag_path
> function isn't implemented for WildcardLayout and CustomLayout
> (i.e., they both return None). Does this mean that I'm not going
> to be able to integrate the tags from bzr into my subversion
> repository?
Yeah, that's correct - bzr-svn doesn't know how to construct the path
to push a tag to given just a tag name. Hopefully we can add a
separate parameter for that in the future, but I haven't quite figured
out yet what the best approach is here, since you'd probably want to
specify a tag path that's based on the branch path of the branch
you're pushing to.
>
> I still need to try your suggestion of not using tags at all. This
> might be difficult to do because it will break some of our current
> tooling built around subversion.
Another alternative you have is creating a very simple plugin for
Bazaar that registers a RepositoryLayout implementation that is
specific to your Subversion repository.
Cheers,
Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQIcBAEBCAAGBQJKcbxqAAoJEACAbyvXKaRXwTwP/2YpNBXd8NBQzGMycCg22QNL
DoHv+6bUSZdOEYQP4nWw/H8QTt5PzpCvrezO7E3Y4oJyrpEcdwmex7nNMHChFG7L
kNcflLpuCrxj/QFscey/5DKuapHT3FZBvGNcCQeFBfYQrgSjfQmlfZebpPBZXM+Q
ancHqr0JBVgmXWpALkAFcuq/gDEhIlfUSGYxQw4/e5TBKWIhDVeSdV9MtQoZA2KY
y4woFAEKnofJynU9rxeQoIfakNllGRtjcAGDJAOPdF2atRxuXZ54mTOjaITYgcT3
zp+xou2WOXbClI9R+sdFQDltSIqkaFGkYG2HieT0s5v5FrWSqT7CYJKxfXPBr9l/
FOX20di68PTFS6GJDZ4OutVSNQoO46Je8/DrvbjnW7yddrVoKjkAHwzpM9Ak6ZQ6
Av+4glXq1ELGd3+q1G8q4UUhIqLcSelx7mfLWPoEsbswVPHMZS2lJSwdVQcK9SiB
5BBzxkjehw522rAw1xG93Jr8N0VwMUJBSqW7S0y9v1/SqVJEswr8YzMuyoML9h7F
t9OVJ4skPUBF89DJtDoYYu05AfjenvHHMOcj4NUDmBx9fxujmErSjFoUclt5gFMJ
g7/1lE/Byie9B7wcz/dzbQmqh2xSo96K5YgO7ZJg1D6d/dkLpe+aCIw6fDLky+Zp
ya0efCGvO2CbC6PdTM+V
=jkPW
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list