bzr-svn - Support for weird nested branching scheme?
Colin D Bennett
colin at gibibit.com
Fri Feb 27 22:22:18 GMT 2009
On Fri, 27 Feb 2009 23:12:54 +0100
Jelmer Vernooij <jelmer at samba.org> wrote:
> > I have not pulled with bzr-svn since the /Arc nested branch was added
> > because I don't want to mess up my local bzr repo. What I would like is
> > a way to tell bzr-svn that "/branches/version_3.0/Arc" is a branch unto
> > itself and that it should not be included in the "version_3.0" branch,
> > but rather a new branch for "Arc" should be created in bzr for it.
> >
> > Is this possible with the bzr-svn branching scheme configuration, or
> > can I write some Python code to handle it?
> You can't exclude anything from the contents of a branch using bzr-svn,
> not even using some trivial custom code. While we could do this in
> theory, supporting this would be a hell. It would add a large amount of
> corner cases in bzr-svn. Furthermore, even if we supported it, you would
> have to re-clone the branch every time you changed what you wanted to
> exclude from it and it would be impossible to merge from people who
> cloned the same branch but had a different set of excludes set.
OK, that is definitely not worth it. I'd have an easier time just
slapping around my team member ;-) for branching into a branch, and
then just delete/recreate it in svn directly under /branches.
> Perhaps views can help a little bit here? You could "view" just the
> directories in the working tree you're interested in.
>
> Of course, you can "bzr branch ../branches/version_3.0/arc" without
> problems to just get the arc branch.
OK, thanks for the tip.
> > Also, I tried to do 'bzr branches' on the svn server, and it is not
> > working. Basically it is just saying "analyzing repository layout"
> > over and over forever:
> >
> > $ bzr branches svn+https://[...]/svn/clever/branches
> > The svn+ syntax is deprecated, use [...]
> > [/ ] 4936kB @ 7kB/s | analyzing repository layout 65/65
> >
> > So it has been running for about 10 minutes now, apparently just
> > downloading the same data over and over. There are only ~340 files in
> > each branch, only 5 branches, and only about 60 revisions in total in
> > the svn repository. So it shouldn't take long to get all the info that
> > "bzr branches" needs. Should "bzr branches" work on an svn repository?
> Which version of bzr-svn are you running? I think this may actually be
> fixed in lp:bzr-svn.
I am using http://people.samba.org/bzr/jelmer/bzr-svn/0.5/
Thanks for the quick response!
Regards,
Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090227/9ea40581/attachment-0001.pgp
More information about the bazaar
mailing list