"unknown branch format" for unknown repository

Bug #173980 reported by John A Meinel
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Dan Watkins

Bug Description

If you have a pack-0.92 repository, doing "bzr status" with an older version
will give a slightly bogus statement:

% ~/dev/bzr/releases/bzr.0.91/bzr status
bzr: ERROR: Unknown branch format: 'Bazaar pack repository format 1 (needs bzr
0.92)\n'

It should be:

Unknown repository format: ...

I think it is because we have "UnknownFormatError" which just always says "branch".

The easy fix would be to just have it take an optional "kind" parameter, which
would be set to 'branch' by default, and could be set to 'repository' or
'working tree' at the correct time.

Tags: trivial ui

Related branches

John A Meinel (jameinel)
description: updated
Dan Watkins (oddbloke)
Changed in bzr:
assignee: nobody → daniel-thewatkins
status: Triaged → In Progress
Dan Watkins (oddbloke)
Changed in bzr:
status: In Progress → Fix Committed
Dan Watkins (oddbloke)
Changed in bzr:
status: Fix Committed → Fix Released
Revision history for this message
Dan Watkins (oddbloke) wrote :

Fixed in bzr.dev r3265.

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.