pushing over hpss ignores stacking policy

Bug #250422 reported by Michael Hudson-Doyle
4
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Unassigned

Bug Description

Again, I attempt to make myself precise with a transcript:

$ cd ~/tmp
$ rm -rf repro
$ mkdir repro
$ cd repro
$ bzr init-repo --development repo
$ bzr init --development repo/base
$ echo "default_stack_on=$(pwd)/repo/base" > repo/.bzr/control.conf
$ bzr init --development to-push
$ bzr push -d to-push repo/push1
Using default stacking branch /home/mwh/tmp/repro/repo/base at file:///home/mwh/tmp/repro/repo/
Created new branch.
$ cat repo/push1/.bzr/branch/branch.conf
stacked_on_location = /home/mwh/tmp/repro/repo/base
$ bzr serve --allow-writes &
[1] 29280
$ sleep 1 # to let the server start up
listening on port: 4155
$ bzr push -d to-push bzr://localhost/repo/push2
Created new branch.
$ cat repo/push2/.bzr/branch/branch.conf
$

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

This seems to be closer to the root cause:

mwh@grond:repro$ bzr serve &
[1] 14679
listening on port: 4155
mwh@grond:repro$ python2.4
Python 2.4.5 (#2, Apr 21 2008, 11:22:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import bzrlib.bzrdir
>>> bzrlib.bzrdir.BzrDir.open('repo').get_config()
<bzrlib.config.BzrDirConfig object at 0xe14fd0>
>>> bzrlib.bzrdir.BzrDir.open('bzr://localhost/repo').get_config()
>>>

Changed in bzr:
status: New → In Progress
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

This has been fixed for ages now.

Changed in bzr:
status: In Progress → Fix Released
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.