AttributeError KnitVersionedFiles.filename when branching stacked branches from hpss
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When making a standalone branch from a stacked branch across the smart server, the following error is raised:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
hardlink=
File "/home/
result_
File "/home/
find_
File "/home/
find_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
pb, find_ghosts)
File "/home/
self.__fetch()
File "/home/
self.
File "/home/
for knit_kind, file_id, revisions in data_to_fetch:
File "/home/
file_ids = self.fileids_
File "/home/
selected_keys)
File "/home/
line_
File "/home/
for line, line_key in line_iterator:
File "/home/
raise RevisionNotPres
AttributeError: 'KnitVersionedF
This doesn't seem to happen for all branches, as this example shows:
$ mkdir /tmp/stacked-bug
$ cd /tmp/stacked-bug
$ bzr init --1.6 a
Standalone tree (format: 1.6)
Location:
branch root: a
$ bzr branch --stacked a b
Created new stacked branch referring to file://
$ bzr branch bzr+ssh:
Branched 0 revision(s).
Changed in bzr: | |
status: | New → Triaged |
Changed in bzr: | |
status: | Triaged → Confirmed |
tags: | added: knits |
Changed in bzr: | |
assignee: | Martin Pool (mbp) → nobody |
tags: | added: check-for-breezy |
This will do it though.
$ bzr branch lp:pqm a /tmp/stacked- bug/a/. /tmp/stacked- bug$ bzr branch bzr+ssh: //localhost/ tmp/stacked- bug/b c AttributeError: 'KnitVersionedF iles' object has no attribute 'filename'
Branched 183 revision(s).
$ bzr upgrade --1.6 a
...
$ bzr branch --stacked a b
Created new stacked branch referring to file://
jml@rhino:
bzr: ERROR: exceptions.