Returning to hgwebdir.cgi and subdirectories ...

Lester Caine lester at lsces.co.uk
Thu May 5 10:58:39 UTC 2011


Paul Boddie wrote:
> Lester Caine wrote:
>> Matt Schulte wrote:
>>> I am running one of those patches from back then and I have been able
>>> to compile them into each release since then.  I've got
>>> sub-directories listed in my web configuration.
>>>
>>> I have attached the one that I use...
>>
>> That is the one I have here as well ...
>> I'll have a closer look at what is going wrong, and get a copy backed
>> up in a local repo ;)
>
> It looks like my patch! I did briefly take a look at this a few weeks
> ago, but as you've noticed, the code has changed enough to make the
> patch difficult to apply. At one point I thought that the vanilla code
> for hgweb might have started supporting subrepositories, but I'd have to
> look again to make sure. It's pretty difficult to work out what kind of
> fancy footwork is going on in that code sometimes when one comes back to
> it after a few weeks/months and when there's a "no comment" policy in
> the Mercurial project. I work on quite a few different projects and even
> in my own projects I'd be lost if it weren't for things like comments
> and copious technical documentation.
>
> Anyway, I'll have a look and see what can be done.
I'd be grateful ... it's difficult having to work with several languages just to 
fix the supporting tools. I do think it is about time there was a review of the 
seemingly increasing number of things we have to use to gain access to the 
'latest craze' and not necessarily to any gain in productivity. I've wasted a 
lot of time over the last few weeks getting to a point where hg/git is 
supporting projects that I've had no problems working for years.

> P.S. I also have a patch to add support for cleaner graph data so that
> you can template the graph page with SVG, but that's more of a niche
> feature, I guess.
My own target is PHP, and templating things so that the style of a site can be 
changed without affecting the function is always the aim. Pulling material 
together to build our own pages is where I would like to be in the future, and I 
am probably at the point where I want to build a front end project management 
layer which then picks up the hgwebdir layer on a single project basis - with 
subrepo layering working nicely ...

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php



More information about the Mercurial mailing list