projects
/
mw
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shell of commit command
[mw]
/
src
/
mw
/
clicommands.py
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])
),
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?