Changeset 096d038aa0f4…
Parent e745ba4b0781…
by
Changes to 2 files · Browse files at 096d038aa0f4 Showing diff from parent e745ba4b0781 Diff from another changeset...
@@ -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:
|
@@ -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"""
|
Loading...