1. TortoiseHg
  2. TortoiseHg
  3. thg


TK Soh  committed a085151

hggtk/serve: show short user names on annotate page

'hg serve --verbose' shows full user names on annotate pages, making
them a little messy to my eyes.

  • Participants
  • Parent commits 392125b
  • Branches default

Comments (0)

Files changed (1)

File hggtk/serve.py

View file
  • Ignore whitespace
         gservice = None
         q = Queue.Queue()
-        args = [self._root, q, 'serve', '--verbose', '--name', self.webname,
+        args = [self._root, q, 'serve', '--name', self.webname,
                 '--port', str(port)]
         thread = threading.Thread(target=hglib.hgcmd_toq, args=args)
                         parentui.setconfig("web", o, str(opts[o]))
                         if (repo is not None) and (repo.ui != parentui):
                             repo.ui.setconfig("web", o, str(opts[o]))
+                print "opts:", opts
                 self.httpd = server.create_server(ui, repo)
             except socket.error, inst:
                 raise util.Abort(_('cannot start server: ') + inst.args[1])
-            if not ui.verbose: return
             if self.httpd.prefix:
                 prefix = self.httpd.prefix.strip('/') + '/'