projects
/
mw
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add diff command that does a whole lot of nothing
[mw]
/
src
/
mw
/
clicommands.py
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)
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?