`bzr heads` don't show branches as HEAD if there is children revisions in the shared repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BzrTools |
New
|
Undecided
|
Unassigned |
Bug Description
I have shared repository with several branches. I run `bzr heads` and it show my HEADs right. Then I delete HEAD branch and again run `bzr heads` and now I see nothing. This is confusing behavior.
C:\Temp>bzr init-repo repo
C:\Temp>cd repo
C:\Temp\repo>
C:\Temp\repo>bzr init a
C:\Temp\repo>bzr ci a -m1 --unch
Committing to: C:/Temp/repo/a/
Committed revision 1.
C:\Temp\repo>bzr get a b
Branched 1 revision(s).
C:\Temp\repo>bzr ci a -m2 --unch
Committing to: C:/Temp/repo/a/
Committed revision 2.
C:\Temp\repo>bzr heads
TIP of branch: C:/Temp/repo/a/
HEAD: revision-id: <email address hidden>
committer: Alexander Belchenko <email address hidden>
branch nick: a
timestamp: Tue 2009-05-12 13:45:00 +0300
message:
2
C:\Temp\repo>del a
C:\Temp\repo>bzr heads
<nothing here>
[...]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belchenko wrote:
> Public bug reported:
>
> I have shared repository with several branches. I run `bzr heads` and it
> show my HEADs right. Then I delete HEAD branch and again run `bzr heads`
> and now I see nothing. This is confusing behavior.
I'm pretty sure that's how you designed it to work.
Aaronenigmail.mozdev.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkoJZ70ACgkQ0F+nu1YWqI1eOACeKX/HkssMW0Jhjfk8xmRmY30fTW0Bi8/s5D8j1O8D2
gbMAnAp5XWVOefi
=hD0h
-----END PGP SIGNATURE-----