Commits

Steve Borho  committed 66df8be

hggtk/commit: prevent backtrace if qct exits with no work

  • Participants
  • Parent commits 227b3ad

Comments (0)

Files changed (1)

File hggtk/commit.py

     if ct != 'internal':
         from hglib import thgdispatch
         args = ['--repository', root, ct]
-        ret = thgdispatch(repo.ui, args=args)
+        try:
+            ret = thgdispatch(repo.ui, args=args)
+        except SystemExit:
+            pass
         return None
 
     cmdoptions = {