Commits

Steve Borho committed 96e7135

hgtk: ensure ret variable has been defined

Fixes #651

Comments (0)

Files changed (1)

     mystderr = cStringIO.StringIO()
     origstderr = sys.stderr
     sys.stderr = mystderr
+    ret = 0
     try:
         ret = tortoisehg.hgtk.hgtk.dispatch(sys.argv[1:])
         sys.stderr = origstderr