comparison tests/killdaemons.py @ 28892:0c135f37c6f8

parser: construct alias object by rule-set class It was odd that the revsetalias did the whole parsing stuff in __init__(). Instead, this patch adds a factory function to the aliasrules class, and makes the alias (= revsetalias) class a plain-old value object.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 29 Feb 2016 18:33:30 +0900
parents 123c99034cb6
children 05cb9c6f310e
comparison
equal deleted inserted replaced
28891:ac30adb260ea 28892:0c135f37c6f8