From abc9f97a3b51a1998b73b4e5f937eb67c373b20e Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Sun, 7 Mar 2010 23:23:33 -0600 Subject: [PATCH 1/1] Add diff command that does a whole lot of nothing --- src/mw/clicommands.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mw/clicommands.py b/src/mw/clicommands.py index c940bd9..95d1fe8 100644 --- 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() -- 2.39.5