Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

repowidget: remove unused imports and unused variables

Changeset 6f3310ebd634

Parent 942ea2d9c476

by Steve Borho

Changes to one file · Browse files at 6f3310ebd634 Showing diff from parent 942ea2d9c476 Diff from another changeset...

 
9
10
11
12
 
13
14
 
15
16
17
18
19
 
20
21
22
 
478
479
480
481
 
482
483
484
 
1390
1391
1392
1393
1394
1395
1396
 
1468
1469
1470
1471
 
1472
1473
1474
 
9
10
11
 
12
13
 
14
15
16
17
18
 
19
20
21
22
 
478
479
480
 
481
482
483
484
 
1390
1391
1392
 
1393
1394
1395
 
1467
1468
1469
 
1470
1471
1472
1473
@@ -9,14 +9,14 @@
 import binascii  import os   -from mercurial import util, revset, error, patch +from mercurial import revset, error, patch   -from tortoisehg.util import shlib, hglib +from tortoisehg.util import hglib    from tortoisehg.hgqt.i18n import _  from tortoisehg.hgqt import qtlib  from tortoisehg.hgqt.qtlib import QuestionMsgBox, InfoMsgBox -from tortoisehg.hgqt.qtlib import CustomPrompt, DemandWidget +from tortoisehg.hgqt.qtlib import DemandWidget  from tortoisehg.hgqt.repomodel import HgRepoListModel  from tortoisehg.hgqt import cmdui, update, tag, backout, merge, visdiff  from tortoisehg.hgqt import archive, thgimport, thgstrip, run, purge, bookmark @@ -478,7 +478,7 @@
  if filename:   filepaths.append(p)   os.unlink(filename) - except Exception, e: + except Exception:   pass   return filepaths   @@ -1390,7 +1390,6 @@
  self.runCommand(cmdline)     def copyPatch(self): - from mercurial import commands, ui   _ui = self.repo.ui   _ui.pushbuffer()   try: @@ -1468,7 +1467,7 @@
  def qpushMoveRevision(self):   """Make REV the top applied patch"""   ctx = self.repo.changectx(self.rev) - patchname = self.repo.changectx(self.rev).thgmqpatchname() + patchname = ctx.thgmqpatchname()   cmdline = ['qpush', '--move', str(patchname),   '--repository', self.repo.root]   self.runCommand(cmdline)