bzr branches shows empty list inside a shared repository without trees but which has branches inside

Bug #1174344 reported by Nicholas Allen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

Create a shared repository without trees.
Add some branches inside that repository.
change to repository directory.
run "bzr branches"
It doesn't print the list of branches in the repository but returns an empty list.

This used to work in older bzr versions.

Revision history for this message
Nicholas Allen (nick-allen) wrote :

cd /tmp
mkdir test
cd test/
bzr init-repo --no-trees .
Shared repository (format: 2a)
Location:
  shared repository: .
bzr init test-branch
Created a repository branch (format: 2a)
Using shared repository: /tmp/test/
bzr branches

Revision history for this message
John A Meinel (jameinel) wrote :

I agree that would be nice. If you have a lightweight checkout pointing at one of the branches in a repository, then 'bzr branches' does what you want.

But ideally it would work in the repo by itself.

bzr init-repo --no-trees test
cd test
bzr init foo
bzr init bar
bzr branches # doesn't show anything
cd bar
bzr branches # only shows something about (default)
cd ..
bzr co --lightweight bar work
bzr branches # shows foo and bar and bar being the current branch

Changed in bzr:
importance: Undecided → Low
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.