AssertionError: <bzrlib.transport.local.LocalTransport
url=file:///var/lib/loggerhead/trunk-rich/readonly%2B./>
>
> Is it normal that readonly+ is in the file path? Could it be a
> middleware that is not working?
Do you know where the '.' is coming from? It is, actually, expected to
have readonly+, but only at the beginning. So: "readonly+file:///...".
The issue is that somehow we are getting a simple relative path "."
rather than the expected URL file:///...
readonly+file:/// is our way to make sure to disallow write actions on
paths.
Offhand 'serve-branches' isn't a very maintained way of service
Loggerhead. (bzr serve --http IIRC is the recommended way.)
So there is probably a bug in here, but I'm not sure whether it is
that we aren't canonicalizing some input from the user, or whether it
is a configuration thing.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
...
AssertionError: <bzrlib. transport. local.LocalTran sport ///var/ lib/loggerhead/ trunk-rich/ readonly% 2B./>
url=file:
>
> Is it normal that readonly+ is in the file path? Could it be a
> middleware that is not working?
Do you know where the '.' is coming from? It is, actually, expected to file:// /...".
have readonly+, but only at the beginning. So: "readonly+
The issue is that somehow we are getting a simple relative path "."
rather than the expected URL file:///...
readonly+file:/// is our way to make sure to disallow write actions on
paths.
Offhand 'serve-branches' isn't a very maintained way of service
Loggerhead. (bzr serve --http IIRC is the recommended way.)
So there is probably a bug in here, but I'm not sure whether it is
that we aren't canonicalizing some input from the user, or whether it
is a configuration thing.
John www.enigmail. net/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with undefined - http://
iEYEARECAAYFAlD uXpMACgkQJdeBCY SNAAP5HwCfYCECh lNdxBD0Fzi/ BC9gfaen 3Q8svJRILGibegN n7
4v4AnR0jCrBPyJw
=QWyp
-----END PGP SIGNATURE-----