Changeset 774617fd1cc6…
Parent 1460eb80053c…
by
Changes to one file · Browse files at 774617fd1cc6 Showing diff from parent 1460eb80053c Diff from another changeset...
@@ -155,6 +155,11 @@ def _runcatch(ui, args):
try:
try:
+ checkhgversion(hglib.hgversion)
+ except util.Abort, inst:
+ ui.status(_("abort: %s!\n") % inst)
+ return 0
+ try:
return runcommand(ui, args)
finally:
ui.flush()
@@ -214,7 +219,6 @@ raise hglib.RepoError(_("There is no Mercurial repository here"
" (.hg not found)"))
- checkhgversion(hglib.hgversion)
try:
return func(ui, *args, **cmdoptions)
except TypeError, inst:
|
Loading...