Steve Borho <[email protected]> writes:

> On Thu, Sep 9, 2010 at 1:24 PM, Matt Schulte <[email protected]> 
> wrote:
>> Hello all,
>>
>> Does anyone know if it would be possible to have Tortoise browse a
>> local repository server (local meaning intranet not local meaning on
>> this machine) when invoking the Clone command and hitting the Browse
>> button?
>
> For varying definitions of "possible".  The existing tools do not
> support it, and it's not on anyone's radar to add it, that I know of.
>
> I don't think Mercurial's hgweb interface offers any special APIs that
> could be queried to get a list of URLs from the server, so it would
> likely have to parse HTML in a screen/scrapey manner. But I could be
> wrong on this last point, I have very little hgweb knowledge.

Yeah, I think you're right that there isn't an API as such. But there is
a 'raw' template that is almost as good:

  http://www.selenic.com/repo/?style=raw

It only works for some of the pages -- you can get the tags:

  http://www.selenic.com/repo/hg/tags?style=raw

but the short or log log return a "500 Internal Server Error" for some
reason.

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/

Attachment: pgpCBKw5B4OsY.pgp
Description: PGP signature

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to