1ed53449d650

Add some skeletal help topics.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 10 Oct 2009 19:18:30 -0400
parents f284aeed0fd5
children deb1059d6425
branches/tags (none)
files review/__init__.py review/extension_ui.py

Changes

--- a/review/__init__.py	Sat Oct 10 19:10:44 2009 -0400
+++ b/review/__init__.py	Sat Oct 10 19:18:30 2009 -0400
@@ -1,3 +1,3 @@
-"""A Mercurial extension for code reviewing changesets."""
+"""commands for code reviewing changesets"""
 
 from extension_ui import *
\ No newline at end of file
--- a/review/extension_ui.py	Sat Oct 10 19:10:44 2009 -0400
+++ b/review/extension_ui.py	Sat Oct 10 19:18:30 2009 -0400
@@ -8,7 +8,7 @@
 import operator, os
 import messages
 from api import *
-from mercurial import templatefilters, util
+from mercurial import help, templatefilters, util
 from mercurial.node import short
 
 
@@ -246,4 +246,27 @@
         ('U', 'unified',     '5',   'number of lines of context to show'),
     ],
     'hg review')
-}
\ No newline at end of file
+}
+
+help.helptable += (
+    (['review-init', 'review-init'],
+     ('Initializing code review for a repository'),
+     (r'''
+     
+    ''')),
+    (['review-review', 'review-review'],
+     ('Viewing code review data for changesets'),
+     (r'''
+     
+    ''')),
+    (['review-comment', 'review-comment'],
+     ('Adding code review comments for changesets'),
+     (r'''
+     
+    ''')),
+    (['review-signoff', 'review-signoff'],
+     ('Adding code review signoffs for changesets'),
+     (r'''
+     
+    ''')),
+)
\ No newline at end of file