I just ran into this with bzr 1.5. Here's a shell script that reproduces the bug:
#!/bin/sh
set -e
cd "`mktemp -d`"
DIR=$PWD
mkdir local
cd local
bzr init .
echo test > file1
bzr add
bzr ci -m "Commit"
bzr push bzr+ssh://localhost/$DIR/remote1
bzr bind bzr+ssh://localhost/$DIR/remote1
cd ..
bzr branch remote1 remote2
cd remote2
echo test > file2
bzr add
bzr ci -m "Commit"
cd ../local
bzr pull bzr+ssh://localhost/$DIR/remote2
# Note that if I use ../remoteX instead of bzr+ssh://localhost/..., the crash doesn't happen.
I just ran into this with bzr 1.5. Here's a shell script that reproduces the bug:
#!/bin/sh //localhost/ $DIR/remote1 //localhost/ $DIR/remote1 //localhost/ $DIR/remote2
set -e
cd "`mktemp -d`"
DIR=$PWD
mkdir local
cd local
bzr init .
echo test > file1
bzr add
bzr ci -m "Commit"
bzr push bzr+ssh:
bzr bind bzr+ssh:
cd ..
bzr branch remote1 remote2
cd remote2
echo test > file2
bzr add
bzr ci -m "Commit"
cd ../local
bzr pull bzr+ssh:
# Note that if I use ../remoteX instead of bzr+ssh: //localhost/ ..., the crash doesn't happen.