projects
/
mw
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2580aa6
)
Shell of commit command
author
Ian Weller
<ian@ianweller.org>
Sun, 14 Mar 2010 06:06:21 +0000
(
00:06
-0600)
committer
Ian Weller
<ian@ianweller.org>
Sun, 14 Mar 2010 06:06:21 +0000
(
00:06
-0600)
src/mw/clicommands.py
patch
|
blob
|
history
diff --git
a/src/mw/clicommands.py
b/src/mw/clicommands.py
index 3c0b4482989d534af81a2d89c5ffa1f08a4a7441..fd5e69cdd05dc709a696e0ce08bf4db39bf7d3bb 100644
(file)
--- a/
src/mw/clicommands.py
+++ b/
src/mw/clicommands.py
@@
-148,3
+148,13
@@
class DiffCommand(CommandBase):
print self.metadir.diff_rv_to_working(
mw.api.filename_to_pagename(file[:-5])
),
+
+
+class CommitCommand(CommandBase):
+
+ def __init__(self):
+ CommandBase.__init__(self, 'commit', 'commit changes to wiki')
+
+ def _do_command(self):
+ self._die_if_no_init()
+ self._api_setup()
Benjamin Mako Hill
||
Want to submit a patch?