Sharing repository through a read-only web server

Ben Gerdemann gname at ibeni.net
Mon Nov 12 15:23:20 GMT 2007


Ben Gerdemann <gname <at> ibeni.net> writes:

I hate to respond to my own post, but I confused my example, replace the branch
name 'dev' with 'home.' Should be:

bzr init-repo /var/bzr-repo
bzr init /var/bzr-repo/home
 
bzr co --lightweight /var/bzr-repo/home
cd home
bzr add
bzr commit

# Test local checkout and everything is fine
cd /tmp
bzr co --lightweight /var/bzr-repo/home

# but same checkout through webserver doesn't work
cp -R /var/bzr-repo /web/server/dir
bzr co --lightweight http://myserver/bzr-repo/home
bzr: ERROR: Transport error: Server refuses to fullfil the request for:
http://myserver/bzr-repo/home/.bzr/repository/format

Cheers,
Ben




More information about the bazaar mailing list