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:
9b8e57d
)
Add diff command that does a whole lot of nothing
author
Ian Weller
<ian@ianweller.org>
Mon, 8 Mar 2010 05:23:33 +0000
(23:23 -0600)
committer
Ian Weller
<ian@ianweller.org>
Mon, 8 Mar 2010 05:23:33 +0000
(23:23 -0600)
src/mw/clicommands.py
patch
|
blob
|
history
diff --git
a/src/mw/clicommands.py
b/src/mw/clicommands.py
index c940bd9259b9c83c368346a5956692baf42fb648..95d1fe804ceb571429759ce672b10c0c3e429353 100644
(file)
--- a/
src/mw/clicommands.py
+++ b/
src/mw/clicommands.py
@@
-129,3
+129,12
@@
class StatusCommand(CommandBase):
status = self.metadir.working_dir_status()
for file in status:
print '%s %s' % (status[file], file)
+
+
+class DiffCommand(CommandBase):
+
+ def __init__(self):
+ CommandBase.__init__(self, 'diff', 'diff wiki to working directory')
+
+ def _do_command(self):
+ self._die_if_no_init()
Benjamin Mako Hill
||
Want to submit a patch?