[fossil-users] how to clone private branches over ssh?

2012-02-05 Thread Leo Razoumov
Hi List,
I am trying to clone my repository over SSH complete with all my
private branches. So far I have had no luck. I compiled fossil on
Ubuntu-10.04 from its current trunk version and that's what I am
getting:

$ fossil clone --private
ssh://leor@pionL2://home/leor/Devel/Fossil/LR.fossil  LR.fossil
password for leor:
ssh -e none -T -p  leor@pionl2
Bytes  Cards  Artifacts Deltas
Sent:  73  1  0  0
Received: 5001001  15798   2003   5914
Sent:  91  2  0  0
Error: not authorized to sync private content
Received: 6225987  1  0  0
Total network traffic: 575 bytes sent, 11227422 bytes received
fossil: server returned an error - clone aborted

What options should I enable in fossil-Admin to permit sync of
private branches? I randomly tried several seemingly relevant options
under User, Acess but to no avail.

BTW, cloning without --private works fine.

--Leo--
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] how to clone private branches over ssh?

2012-02-05 Thread Richard Hipp
On Sun, Feb 5, 2012 at 12:03 PM, Leo Razoumov slonik...@gmail.com wrote:

 Hi List,
 I am trying to clone my repository over SSH complete with all my
 private branches. So far I have had no luck.
 
 What options should I enable in fossil-Admin to permit sync of
 private branches? I randomly tried several seemingly relevant options
 under User, Acess but to no avail.


You need to enable the Private privilege on the user that you are logging
in as.

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] how to clone private branches over ssh?

2012-02-05 Thread Leo Razoumov
On Sun, Feb 5, 2012 at 12:16, Richard Hipp d...@sqlite.org wrote:
 On Sun, Feb 5, 2012 at 12:03 PM, Leo Razoumov slonik...@gmail.com wrote:

 Hi List,
 I am trying to clone my repository over SSH complete with all my
 private branches. So far I have had no luck.
 
 What options should I enable in fossil-Admin to permit sync of
 private branches? I randomly tried several seemingly relevant options
 under User, Acess but to no avail.

 You need to enable the Private privilege on the user that you are logging in
 as.


Still no luck even after I enabled Private privilege and am providing
correct fossil login password when clone asks me.

The only way I get private branch clone working is to configure ssh to
set REMOTE_USER environment variable on the remote end.
But such a ssh trickery is a poor solution for it requires root access
to sshd configuration file.

--Leo--
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users