--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
The 'hg cat' command cannot operate remotely through ssh:// repositories. It
works only locally. The http:// repos in RB work around that using the raw
file download from the hgweb interface.
So you cannot configure a HG repo with ssh:// from ReviewBoard.
You have to use local path (or NFS/SMB) or http://. It might be possible to
use https:// as well.
Regards.
Gilles.
So the solution would be to either:
- Implement a new wire command to retrieve a file revision on the HG side.
There has always been some push back for such requests, so I don't see that
happen.
- Implement a specialized HGSSHClient class in the hg.py of the ReviewBoard
scmtools to would run remotely run "hg cat" command and dump the result over
the SSH link, instead of trying to run the HG wire protocol over SSH.
The Pros is that this would work with any mercurial version.
The drawback of this solution is that you can't protect SSH accesses with the
hg-ssh script. You would have to use a different wrapper.
Regards.
Gilles.