add subtree reference should not traceback on non-subtree formats
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
I tried to have part of working tree in two repositories, like this:
zrg@aivas:~$ mkdir webroot
zrg@aivas:~$ mkdir webroot/subsite
zrg@aivas:~$ cd webroot/subsite
zrg@aivas:
zrg@aivas:
zrg@aivas:
added subsite_file.txt
zrg@aivas:
Committing to: /home/zrg/
added subsite_file.txt
Committed revision 1.
zrg@aivas:
zrg@aivas:
zrg@aivas:
zrg@aivas:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
no_recurse, action=action, save=not dry_run)
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
inv = self.inventory
File "/usr/lib/
self.
File "/usr/lib/
% (self, name)
AssertionError: repository of <WorkingTree4 of /home/zrg/webroot> doesn't support tree references required by entry 'subsite'
Hi,
The error is trying to tell you that the format you are using does not
support subtrees. Admittedly this is a bit cryptic, and it would
be good to have a sensible error here.
You should bzr upgrade --pack-0.92-subtree to enable
support.
This option is hidden as subtree support is still experimental.
Thanks,
James