Incomplete "Not a branch" error message

Bug #960145 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

If I try to merge an LP URI where neither the project nor the branch exist, the error message makes sense:

mike@tambo:~/Code/deja-dup/22$ bzr merge lp:~mterry/nothere/nope
bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~mterry/nothere/nope/".

But if I instead try to merge an LP URI where the project exists but the branch does not, the error message is incomplete and does not include the branch name I tried to merge (which is especially misleading, because the user will think the project name doesn't exist when it does):

mike@tambo:~/Code/deja-dup/22$ bzr merge lp:~mterry/deja-dup/nope
bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~mterry/deja-dup/".

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bzr 2.5.0-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-19.30-generic-pae 3.2.11
Uname: Linux 3.2.0-19-generic-pae i686
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
CheckboxSubmission: 9a284f3f6b4f7829abbe27ad9573a709
CheckboxSystem: 3935143777c965daaa64b51f0134f712
Date: Tue Mar 20 08:28:41 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110422)
PackageArchitecture: all
SourcePackage: bzr
UpgradeStatus: Upgraded to precise on 2011-11-05 (135 days ago)

Revision history for this message
Michael Terry (mterry) wrote :
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 960145] [NEW] Incomplete "Not a branch" error message

On Tue, Mar 20, 2012 at 12:33:04PM -0000, Michael Terry wrote:
> If I try to merge an LP URI where neither the project nor the branch
> exist, the error message makes sense:
>
> mike@tambo:~/Code/deja-dup/22$ bzr merge lp:~mterry/nothere/nope
> bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~mterry/nothere/nope/".
>
> But if I instead try to merge an LP URI where the project exists but the
> branch does not, the error message is incomplete and does not include
> the branch name I tried to merge (which is especially misleading,
> because the user will think the project name doesn't exist when it
> does):
>
> mike@tambo:~/Code/deja-dup/22$ bzr merge lp:~mterry/deja-dup/nope
> bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~mterry/deja-dup/".
This happens because of the way in which Launchpad's VFS for branches
works.

  affects launchpad

Cheers,

Jelmer

Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
Jelmer Vernooij (jelmer)
no longer affects: bzr
William Grant (wgrant)
Changed in launchpad:
importance: Critical → Low
no longer affects: bzr (Ubuntu)
tags: added: branches codehosting-ssh confusing-ui
removed: apport-bug i386 precise
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.