Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

drop support for RepoError from mercurial.repo

Changeset 332a9c479693

Parent 0deeb72fb685

by Adrian Buehlmann

Changes to 2 files · Browse files at 332a9c479693 Showing diff from parent 0deeb72fb685 Diff from another changeset...

 
14
15
16
17
18
19
20
 
21
22
23
 
14
15
16
 
 
 
 
17
18
19
20
@@ -14,10 +14,7 @@
 # this program; if not, write to the Free Software Foundation, Inc.,  # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.   -try: - from mercurial.error import RepoError -except ImportError: # old API - from mercurial.repo import RepoError +from mercurial.error import RepoError    from PyQt4 import QtCore, QtGui  Qt = QtCore.Qt
 
36
37
38
39
40
41
42
 
43
44
45
 
36
37
38
 
 
 
 
39
40
41
42
@@ -36,10 +36,7 @@
   from tortoisehg.util import paths   -try: - from mercurial.error import RepoError -except ImportError: # old API - from mercurial.repo import RepoError +from mercurial.error import RepoError    Qt = QtCore.Qt  bold = QtGui.QFont.Bold