Commits

Steve Borho committed e826c15

hggtk/hglib: make return codes friendlier

  • Participants
  • Parent commits 729dddf

Comments (0)

Files changed (1)

File hggtk/hglib.py

         try:
             ret = dispatch._dispatch(self.ui, self.args)
             if ret:
-                self.ui.write('command returned error code %d.\n' % int(ret))
+                self.ui.write('command returned code %d.\n' % int(ret))
             else:
                 self.ui.write('command completed successfully.\n')
             self.ret = ret or 0