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

hggtk: print current hg version if it does not match

Changeset 096d038aa0f4

Parent e745ba4b0781

by Simon Heimberg

Changes to 2 files · Browse files at 096d038aa0f4 Showing diff from parent e745ba4b0781 Diff from another changeset...

 
107
108
109
110
 
 
111
112
113
 
107
108
109
 
110
111
112
113
114
@@ -107,7 +107,8 @@
  Returns hg.repo   '''   p = paths.find_root(path) - + if not p: + return None   try:   return hg.repository(ui.ui(), path=p)   except hglib.RepoError:
Change 1 of 1 Show Entire File hggtk/​hgtk.py Stacked
 
599
600
601
602
603
 
 
604
605
606
 
599
600
601
 
 
602
603
604
605
606
@@ -599,8 +599,8 @@
  if vers == nextver:   return   raise util.Abort(_('This version of TortoiseHg requires Mercurial ' - 'version %s.n to %s.n') % ('.'.join(reqver), - '.'.join(nextver))) + 'version %s.n to %s.n, but finds %s') % ('.'.join(reqver), + '.'.join(nextver), v))    def version(ui, **opts):   """output version and copyright information"""