remote file extraction

Tom Karzes tom.karzes at magnumsemi.com
Wed Jul 2 00:26:51 CDT 2008


That's essentially what we're doing at the moment.  The main reason for
wanting to use the hg serve interface is so that it can handle access
restrictions using the same mechanism that commands like clone and pull do. 
If we implement it as a separate script, then we now have 2 different places
that need to check access rights.  And of course, we have to maintain a
server-side script.


Peter Arrenbrecht wrote:
> 
> You could write a server- and client-side extension à la rexec:
> 
>   http://freehg.org/u/parren/rexec/file/tip/rexec
> 
> If you do, we might want to consolidate them by providing a base patch
> that allows such extensions, and plugins into this base patch.
> 
> -parren
> 
> On Wed, Jul 2, 2008 at 4:20 AM, Tom Karzes <tom.karzes at magnumsemi.com>
> wrote:
>>
>> That would work, except this is a secure machine that we don't allow
>> people
>> to login to -- ssh access is restricted to Mercurial server commands.  So
>> what I'd really like is something that can do this using the normal hg
>> server interface.
>>
>>
>>
>> Matt Mackall wrote:
>>>
>>>
>>> On Tue, 2008-07-01 at 18:43 -0700, Tom Karzes wrote:
>>>> Yeah, I need a solution that works on ssh repositories.
>>>
>>> ssh <host> hg -R <repo> cat <file>
>>>
>>> --
>>> Mathematics is the supreme nostalgia of our time.
>>>
>>> _______________________________________________
>>> Mercurial mailing list
>>> Mercurial at selenic.com
>>> http://selenic.com/mailman/listinfo/mercurial
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/remote-file-extraction-tp18228606p18229047.html
>> Sent from the Mercurial mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at selenic.com
>> http://selenic.com/mailman/listinfo/mercurial
>>
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
> 
> 

-- 
View this message in context: http://www.nabble.com/remote-file-extraction-tp18228606p18230539.html
Sent from the Mercurial mailing list archive at Nabble.com.




More information about the Mercurial mailing list