Mercurial > hg
diff hgext/blackbox.py @ 19234:7bbad79b9542
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 23 May 2013 17:52:21 -0500 |
parents | 6d6f148cada9 |
children | 7cc77030c557 |
line wrap: on
line diff
--- a/hgext/blackbox.py Wed May 15 15:44:59 2013 +0900 +++ b/hgext/blackbox.py Thu May 23 17:52:21 2013 -0500 @@ -126,7 +126,8 @@ if not repo.local(): return - ui.setrepo(repo) + if util.safehasattr(ui, 'setrepo'): + ui.setrepo(repo) @command('^blackbox', [('l', 'limit', 10, _('the number of events to show')),