Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows tortoiseSVN update to revision fails #20

Closed
GuillaumeBibaut opened this issue Sep 21, 2017 · 1 comment
Closed

Windows tortoiseSVN update to revision fails #20

GuillaumeBibaut opened this issue Sep 21, 2017 · 1 comment

Comments

@GuillaumeBibaut
Copy link
Contributor

self.run_tortoise('update /rev', files)

It seems that the files variable isn't instanced at this point. Maybe moving lines 316 and 317 before line 311 would bring a sufficient fix ?

Here is the debug I'm getting in Sublime Text 3:

HypnotoadSVN: Update to revision
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 795, in run_
    return self.run(**args)
  File "svn_commands in C:\Users\Guillaume\AppData\Roaming\Sublime Text 3\Installed Packages\HypnotoadSVN.sublime-package", line 312, in run
UnboundLocalError: local variable 'files' referenced before assignment
@m-hall
Copy link
Owner

m-hall commented Sep 28, 2017

Thanks for the fix!

@m-hall m-hall closed this as completed Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants