expull and expush can reference `path` before it is assigned

Issue #7 resolved
Former user created an issue

If, for some reason, repo._activepath(remote) raises an exception, the path variable is unassigned, and the error handling fails with e.g.,

File "remotebranches/hg_remotebranches.py", line 120, in expull % (path, e)) UnboundLocalError: local variable 'path' referenced before assignment

Comments (1)

  1. Log in to comment