Some expected smart server errors cause client tracebacks
Bug #381329 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Andrew Bennetts | ||
1.15 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
When using a Bazaar 1.15 smart server and a Bazaar 1.15 clients, the following operations raise client-side tracebacks:
- pushing to a new branch without write permissions
- pushing to an existing branch without write permissons
To reproduce the first bug, do the following with Bazaar 1.15
$ cd /tmp
$ bzr init some-branch
$ cd some-branch
$ bzr push bzr+ssh:
Related branches
To post a comment you must log in.
The cause is fairly straightforward: bzrlib/bzrdir.py issues some HPSS calls directly (in RemoteBzrDirFormat) without taking care to catch and translate ErrorFromSmartS erver. I'll submit a fix shortly.