Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable repotreeitem, reporegistry: clean up unused imports and QObject.connect

Changeset 405a4093a5f9

Parent 7a2300236a3a

by Yuya Nishihara

Changes to 2 files · Browse files at 405a4093a5f9 Showing diff from parent 7a2300236a3a Diff from another changeset...

 
7
8
9
10
11
12
13
14
 
15
16
17
18
19
20
21
22
23
24
25
26
27
 
7
8
9
 
 
10
11
 
12
13
 
14
15
16
17
18
 
 
 
19
20
21
@@ -7,21 +7,15 @@
   import os   -from mercurial import url -  from tortoisehg.util import hglib  from tortoisehg.hgqt.i18n import _ -from tortoisehg.hgqt import cmdui, qtlib, thgrepo +from tortoisehg.hgqt import qtlib, thgrepo  from tortoisehg.hgqt.repotreemodel import RepoTreeModel -from tortoisehg.hgqt.pathedit import PathEditDialog  from tortoisehg.hgqt.clone import CloneDialog    from PyQt4.QtCore import *  from PyQt4.QtGui import *   -connect = QObject.connect - -  def settingsfilename():   """Return path to thg-reporegistry.xml as unicode"""   s = QSettings()
 
5
6
7
8
9
 
10
11
 
12
13
14
15
16
17
18
19
20
 
5
6
7
 
 
8
9
 
10
11
12
 
13
14
 
15
16
17
@@ -5,16 +5,13 @@
 # This software may be used and distributed according to the terms of the  # GNU General Public License version 2 or any later version.   -import sys -import os +import sys, os   -from mercurial import hg, url, error, node +from mercurial import node    from tortoisehg.util import hglib -  from tortoisehg.hgqt.i18n import _  from tortoisehg.hgqt import qtlib, thgrepo -  from tortoisehg.hgqt.settings import SettingsDialog    from PyQt4.QtCore import *