Remove a branch
Aaron Bentley
aaron at aaronbentley.com
Tue Apr 29 13:23:11 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote:
> On Tue, Apr 29, 2008 at 7:31 AM, John Arbash Meinel
> <john at arbash-meinel.com> wrote:
>> Well, you can 'rm -rf .bzr/branch' in that directory. I guess it isn't
>> something
>> we really worked out. Usually a branch is in it own directory, so you can
>> just
>> get rid of the whole containing dir. But if it is at the root of a shared
>> repo,
>> you don't want to get rid of the repository.
>
> Maybe it's a bug that we allow push to create a branch in a control
> directory that previously contained just a shared repository? I
> realize it's technically quite feasible but it seems like an unusual
> use, and probably a mistake.
bzr reconfigure can also produce this configuration. It can't remove a
branch yet, because there hasn't been demand. bzr split also does this,
IIRC.
I could imagine sticking trunk at the root of a repository and then
putting the feature branches as subdirectories of that. Maybe I'm weird.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIFxMu0F+nu1YWqI0RAoFaAJ0fPLlM2CiO1BR9A2U4ks+ouPVsGACfePky
5lniZxt6Cl4kDL7bCnLEGU8=
=MedG
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list