cannot branch from a bare repository, even with -r argument

Bug #772373 reported by Adrian Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

You cannot make a branch or checkout from a repository location, even if you pass a valid revision identifier.
e.g.

 # pwd is inside a shared repository
 # bzr branch -r revid:foo foo-fix
 bzr: ERROR: Not a branch: "${pwd}/foo-fix"
 # bzr branch . -r revid:foo foo-fix
 bzr: ERROR: Not a branch: "${pwd}/.bzr/branch/": location is a repository.
 # But I don't have any branches...
 # Ah, workaround
 # bzr init bar
 # bzr branch bar -r revid:foo foo-fix
 Branched 69 revision(s).
 # Curious, revid:foo isn't on that empty branch with zero revs...
 # rm -r bar

This is only a minor thing once you know the workaround, but a potential quality improvement.

Martin Pool (mbp)
tags: added: feature
Changed in bzr:
status: New → Confirmed
importance: Undecided → Low
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.