[PATCH 4 of 4] hgweb: always run search when a query is entered

Kevin Bullock kbullock+mercurial at ringworld.org
Mon Aug 5 23:16:33 CDT 2013


On 2 Aug 2013, at 4:55 PM, Alexander Plavin wrote:

> # HG changeset patch
> # User Alexander Plavin <alexander at plav.in>
> # Date 1374185353 -14400
> #      Fri Jul 19 02:09:13 2013 +0400
> # Node ID b803e7ec8094366b8a3f9d46fb6f79c63b7b673e
> # Parent  9a4e5f7309fb53e800d0ada415ce4944ef241704
> hgweb: always run search when a query is entered
> 
> This changes the behavior for queries which point at a revision directly,
> now the output is consistend to other cases: it results in only this matched
> revision shown, not the log starting with it.

Crewed the first two, thanks. I'm +1 on #3 and this one, but holding off for other feedback.

I note that this does _not_ affect requests like /log/REV, only search queries like /log?rev=REV. That's good.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list