bzr_ssh_path_limiter error
Hi,
I've tried using 'bzr_ssh_
I have
command=
in ~/.ssh/
bzr: ERROR: Not a branch: "bzr+ssh://<email address hidden>
The problem seems to be with the line
os.execlp('bzr', 'bzr', '--no-plugins', 'serve', '--inet', '--directory=' + sys.argv[1], '--allow-writes')
Am I using the script incorrectly or is there something wrong in this line of the script? I'm using bzr version 2.0.0.
Question information
- Language:
- English Edit question
- Status:
- Needs information
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2010-01-20
- Last reply:
- 2010-03-05
| John A Meinel (jameinel) said : | #1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Garth Wells wrote:
> New question #98083 on Bazaar:
> https:/
>
> Hi,
>
> I've tried using 'bzr_ssh_
>
> I have
>
> command=
>
> in ~/.ssh/
>
> bzr: ERROR: Not a branch: "bzr+ssh://<email address hidden>
>
> The problem seems to be with the line
>
> os.execlp('bzr', 'bzr', '--no-plugins', 'serve', '--inet', '--directory=' + sys.argv[1], '--allow-writes')
>
> Am I using the script incorrectly or is there something wrong in this line of the script? I'm using bzr version 2.0.0.
>
I believe once you've set up path limiting, then the 'root' of the
bzr+ssh:// line changes. Specifically with the above command, then
/home/bzr/
is accessed as
bzr+ssh://<email address hidden>/foo
And not
bzr+ssh://<email address hidden>
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkt
3ocAoKCnkN5m4nu
=UkRA
-----END PGP SIGNATURE-----
| Garth Wells (garth-wells) said : | #2 |
John A Meinel wrote:
> Your question #98083 on Bazaar changed:
> https:/
>
> Status: Open => Answered
>
> John A Meinel proposed the following answer:
> Garth Wells wrote:
>> New question #98083 on Bazaar:
>> https:/
>
>> Hi,
>
>> I've tried using 'bzr_ssh_
>
>> I have
>
>> command=
>
>> in ~/.ssh/
>
>> bzr: ERROR: Not a branch: "bzr+ssh://<email address hidden>
>
>> The problem seems to be with the line
>
>> os.execlp('bzr', 'bzr', '--no-plugins', 'serve', '--inet', '--directory=' + sys.argv[1], '--allow-writes')
>
>> Am I using the script incorrectly or is there something wrong in this line of the script? I'm using bzr version 2.0.0.
>
>
> I believe once you've set up path limiting, then the 'root' of the
> bzr+ssh:// line changes. Specifically with the above command, then
>
> /home/bzr/
> is accessed as
> bzr+ssh://<email address hidden>/foo
>
> And not
> bzr+ssh://<email address hidden>
>
Unfortunately this didn't help.
The path seems to be ok. Doing
bzr branch bzr+ssh://<email address hidden>
and printing
'--directory=' + sys.argv[1]
from inside bzr_ssh_
'--directory=
which is teh correct path.
Garth
> John
> =:->
>
| Andrew Bennetts (spiv) said : | #3 |
Garth, John's answer is correct I think.
What happens if you try this command:
bzr branch bzr+ssh://<email address hidden>/foo
?
i.e. without the /home/bzr/my_code in the URL?
Can you help with this problem?
Provide an answer of your own, or ask Garth Wells for more information if necessary.
