1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Steve Borho  committed 9af8a02

status: give name to exception

closes #1317

  • Participants
  • Parent commits c96f2bb
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/status.py

View file
                 else:
                     # node2 is None (working dir) when 0 or 1 rev is specified
                     n1, n2 = cmdutil.revpair(repo, self.opts.get('rev'))
-            except (util.Abort, error.RepoError):
+            except (util.Abort, error.RepoError), e:
                 self.status_error = str(e)
                 return