# HG changeset patch
# User Dmitriy Morozov <morozov@cs.duke.edu>
# Date 1199950717 18000
# Node ID c79f89b046769055d1abd02c39e6ea7b23ebc73a
# Parent  57157f212cde5cfd48dba4c7093180f7bba77144
Added vim instruction to expand tabs + number of comments aligned to preset width in ilist

diff -r 57157f212cde -r c79f89b04676 artemis.py
--- a/artemis.py	Tue Jan 08 23:52:11 2008 +0100
+++ b/artemis.py	Thu Jan 10 02:38:37 2008 -0500
@@ -1,5 +1,5 @@
 # Author: Dmitriy Morozov <hg@foxcub.org>, 2007
-
+        
 """A very simple and lightweight issue tracker for Mercurial."""
 
 from mercurial import hg, util
@@ -51,10 +51,10 @@
 
 
         if match_date and not date_match(util.parsedate(mbox[0]['date'])[0]): continue
-        ui.write("%s (%d) [%s]: %s\n" % (issue[len(issues_path)+1:], # +1 for trailing /
-                                         len(mbox)-1,                 # number of replies (-1 for self)
-                                         mbox[0]['State'],
-                                         mbox[0]['Subject']))
+        ui.write("%s (%3d) [%s]: %s\n" % (issue[len(issues_path)+1:], # +1 for trailing /
+                                          len(mbox)-1,                # number of replies (-1 for self)
+                                          mbox[0]['State'],
+                                          mbox[0]['Subject']))
 
 
 def iadd(ui, repo, id = None, comment = 0):
@@ -271,3 +271,5 @@
                    'do not add a comment about changed properties')],
                  _('hg iupdate [OPTIONS] ID'))
 }
+
+# vim: expandtab