Mercurial > hg
diff .hgignore @ 28272:760f9d04842a
revset: define "pat" variable unconditionally in subrepo()
It's a source of UnboundLocalError to define and use local variables
conditionally. As getstring() always returns a str, "pat" can be initialized
to None.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 13 Feb 2016 20:13:45 +0900 |
parents | f75f7d39cca3 |
children | 17b85d739b62 |