[PATCH] serve: introduce --get and --post for easy testing of hgweb
Augie Fackler
raf at durin42.com
Fri Mar 1 10:49:23 CST 2013
On Mar 1, 2013, at 11:19 AM, Kevin Bullock <kbullock+mercurial at ringworld.org> wrote:
> On 11 Feb 2013, at 3:53 PM, Bryan O'Sullivan wrote:
>
>> On Sat, Feb 9, 2013 at 3:22 PM, Mads Kiilerich <mads at kiilerich.com> wrote:
>>> serve: introduce --get and --post for easy testing of hgweb
>>>
>>> These options can be useful both in the test suite and for other kinds of hgweb
>>> testing.
>>>
>> Wouldn't it make sense to put this code in a Python file in the tests directory? It seems quite inappropriate to add these options to hgweb itself.
>
> At the sprint I suggested that it might be nice to hide these options behind a --verbose flag, but I'm not sure we have that capability at the moment.
>
> I'm in favor of having them as flags on `hg serve`, though. I think it would be useful beyond our test suite.
Eh? Why?
We could mark the flags deprecated to hide them without -v IIRC.
>
> pacem in terris / мир / शान्ति / سَلاَم / 平和
> Kevin R. Bullock
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list