Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

hgtk: cleanup import statements

Changeset ad5dfd632118

Parent 6edc2d6600db

by Steve Borho

Changes to one file · Browse files at ad5dfd632118 Showing diff from parent 6edc2d6600db Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgtk.py Stacked
 
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
 
26
27
 
28
29
30
 
12
13
14
 
 
15
 
 
 
 
 
 
 
 
16
17
18
19
20
21
22
23
@@ -12,19 +12,12 @@
 '''    from mercurial.i18n import _ -from mercurial import hg, util, fancyopts, commands, cmdutil -import pdb  import mercurial.ui as _ui - -try: - from mercurial.error import RepoError, UnknownCommand, AmbiguousCommand - from mercurial.error import ParseError -except ImportError: - from mercurial.repo import RepoError - from mercurial.cmdutil import UnknownCommand, AmbiguousCommand - from mercurial.dispatch import ParseError +from mercurial import hg, util, fancyopts, cmdutil +from hglib import RepoError, UnknownCommand, AmbiguousCommand, ParseError    import os +import pdb  import sys  import traceback