Mercurial > hg
diff i18n/ru.po @ 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 | 8a952d8fe71e |
children | 4acf569facef |