Mercurial > hg
comparison contrib/hgclient.py @ 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 | 24c5fd2894f8 |
children | 897a4bbd578b |
comparison
equal
deleted
inserted
replaced
28271:5c454ab69558 | 28272:760f9d04842a |
---|