Martin Pool wrote:
> 2009/6/30 David I <email address hidden>:
>
>> Is there anything more I can do to help track this bug down?
>>
>
> If you can provide a reproduction in non-private data either as a
> script or a tarball that would be excellent.
>
>
The script I sent before was completely self-contained. I can't pare it
down much more that that ;)
Here is a more abstract version. When I checked this script I notice
that the annotate does not fail every time. Running with a pause after
the last run seems to consistently fail, but running twice with no pause
often succeeds on the second try.
Martin Pool wrote:
> 2009/6/30 David I <email address hidden>:
>
>> Is there anything more I can do to help track this bug down?
>>
>
> If you can provide a reproduction in non-private data either as a
> script or a tarball that would be excellent.
>
>
The script I sent before was completely self-contained. I can't pare it
down much more that that ;)
Here is a more abstract version. When I checked this script I notice
that the annotate does not fail every time. Running with a pause after
the last run seems to consistently fail, but running twice with no pause
often succeeds on the second try.
#!/bin/bash `hostname`
local_host=
remote_host=mscvs01
repos_root= /data/users/ david.ingamells /temp/bzr/ repos root=/data/ users/david. ingamells/ temp/bzr/ work
branch_
repos_name=1.0
cd ${repos_root}
bzr init --1.9-rich-root ${repos_name}
# the following init does not result in a fail:
#bzr init ${repos_name}
cd ${repos_name}
echo "Hello" > file
bzr add file
bzr commit -m "first file"
bzr remove-tree
ssh ${remote_host} ". .profile; cd ${branch_root}; bzr branch --stacked //${local_ host}/$ {repos_ root}/$ {repos_ name}"
bzr+ssh:
#this works root}/$ {repos_ name}; bzr
ssh ${remote_host} ". .profile; cd ${branch_
annotate file"
bzr checkout
echo `date` >> file
bzr commit -m "Updated file"
ssh ${remote_host} ". .profile; cd ${branch_ root}/$ {repos_ name}; bzr pull"
#this fails <------ ------- ------- ------- ------ root}/$ {repos_ name}; bzr
ssh ${remote_host} ". .profile; cd ${branch_
annotate file"
#cleanup
cd .. root}/$ {repos_ name} root}/$ {repos_ name}"
rm -rf ${repos_
ssh mscvs01 ". .profile; rm -rf ${branch_