[RFC] An explicit "this branch has moved" format
aaron at aaronbentley.com
Wed May 14 16:49:23 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
John Arbash Meinel wrote:
> So I was thinking about adding an explicit branch format, which when opened
> would tell the user that "you can find the real branch over here, I'll
> you". Otherwise it would work like our current BranchReference format. (the
> format behind co --lightweight.)
It seems like a reasonable idea generally. We might even use it on
Launchpad when users rename branches.
If this is meant to indicate a permanent move, should Bazaar update
references to the new location?
> And then we would add a command to create these. Maybe something like "bzr
> create-redirect-branch". (bzr init --format=redirect-branch? Doesn't
> quite work
> because you can't tell it the URL to redirect to.)
For my branch-stacking-policy work, I also need a way to create a
special control directory. That control directory sets a default
stacking location. Perhaps we could combine these into a meta-command.
$ bzr init-control --redirect LOCATION
$ bzr init-control --stacking-default LOCATION
$ bzr init-control --create-trees
Or since it could be used to adjust these values after they had been
set, perhaps "set-control" would be a better name.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar