Initial commit
authorDmitriy Morozov <morozov@cs.duke.edu>
Thu, 27 Dec 2007 10:28:30 -0500
changeset 0 c1b34481e50a
child 1 0bbf290d6f07
Initial commit
artemis.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/artemis.py	Thu Dec 27 10:28:30 2007 -0500
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+
+from mercurial import hg
+from mercurial.i18n import _
+
+def issues(ui, repo, **opts):
+	"""Keep track of issues associated with the project"""
+	if opts['list']:
+		print "listing issues"
+	elif opts['add']:
+		print "adding issue"
+	elif opts['show']:
+		print "showing issue"
+	elif opts['reply']:
+		print "replying to issue"
+
+cmdtable = {
+	'issues':	(issues,
+				 [('l', 'list', 	None, 	'list issues'),
+				  ('a', 'add', 		None, 	'add issue'),
+				  ('s', 'show', 	None, 	'show issue'),
+				  ('r', 'reply', 	None,	'reply to issue')],
+				 _('hg issues [OPTIONS]'))
+}