Commits

Steve Borho  committed e80b36b Merge

Merge with stable

  • Participants
  • Parent commits 29eefd1, edfd89a

Comments (0)

Files changed (3)

File tortoisehg/hgqt/bugreport.py

 from PyQt4.QtNetwork import QNetworkAccessManager, QNetworkRequest
 try:
     from PyQt4.Qsci import QSCINTILLA_VERSION_STR
-except (ImportError, AttributeError):
+except (ImportError, AttributeError, RuntimeError):
     # show BugReport dialog even if QScintilla is missing
+    # or incompatible (RuntimeError: the sip module implements API v...)
     QSCINTILLA_VERSION_STR = '(unknown)'
 
 def _safegetcwd():

File tortoisehg/hgqt/postreview.py

 
     def getSummary(self):
         comboText = self.qui.review_id_combo.currentText().split(":")
-        return str(comboText[1])
+        return hglib.fromunicode(comboText[1])
 
     def postReviewOpts(self, **opts):
         """Generate opts for reviewboard by form values"""

File tortoisehg/hgqt/qtlib.py

 def openhelpcontents(url):
     'Open online help, use local CHM file if available'
     if not url.startswith('http'):
-        fullurl = 'http://tortoisehg.org/manual/2.4/' + url
+        fullurl = 'http://tortoisehg.org/manual/2.7/' + url
         # Use local CHM file if it can be found
         if os.name == 'nt' and paths.bin_path:
             chm = os.path.join(paths.bin_path, 'doc', 'TortoiseHg.chm')