Mercurial > hg
comparison mercurial/hgweb/hgwebdir_mod.py @ 23847:71402bb8d8b2
revset: check for collisions between alias argument names in the declaration
Before this patch, collisions between alias argument names in the
declaration are ignored, and this silently causes unexpected alias
evaluation.
This patch checks for such collisions, and aborts (or shows a warning) when
collisions are detected.
This patch doesn't add a test to "test-revset.t", because a doctest is
enough to test the collisions detection itself.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Sat, 10 Jan 2015 23:18:11 +0900 |
parents | e48a5d3996c2 |
children | ef36536abea3 78e8890cfb4b |
comparison
equal
deleted
inserted
replaced
23846:aac4a1a7920e | 23847:71402bb8d8b2 |
---|