Mercurial > hg
comparison tests/test-merge-revert.t @ 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 | 28e2e3804f2e |
children | 55c6ebd11cb9 |
comparison
equal
deleted
inserted
replaced
28891:ac30adb260ea | 28892:0c135f37c6f8 |
---|