]> projects.mako.cc - mw/commitdiff
Add diff command that does a whole lot of nothing
authorIan Weller <ian@ianweller.org>
Mon, 8 Mar 2010 05:23:33 +0000 (23:23 -0600)
committerIan Weller <ian@ianweller.org>
Mon, 8 Mar 2010 05:23:33 +0000 (23:23 -0600)
src/mw/clicommands.py

index c940bd9259b9c83c368346a5956692baf42fb648..95d1fe804ceb571429759ce672b10c0c3e429353 100644 (file)
@@ -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?