From: Ian Weller Date: Tue, 22 Dec 2009 08:46:09 +0000 (-0600) Subject: Rename fetch to pull X-Git-Url: https://projects.mako.cc/source/mw/commitdiff_plain/c846c000883d4eebd1d4135dac6a379faf7484c7 Rename fetch to pull We'll use 'fetch' to download newer wiki revisions, which will lead to using 'update' to apply those newer revisions. --- diff --git a/src/mw/clicommands.py b/src/mw/clicommands.py index 7ead096..c180c6a 100644 --- a/src/mw/clicommands.py +++ b/src/mw/clicommands.py @@ -72,11 +72,10 @@ class InitCommand(CommandBase): self.metadir.create(self.args[0]) -class FetchCommand(CommandBase): +class PullCommand(CommandBase): def __init__(self): usage = '%prog fetch [options] PAGENAME ...' - CommandBase.__init__(self, 'fetch', 'fetch remote pages', usage) - self.shortcuts.append('ft') + CommandBase.__init__(self, 'pull', 'add remote pages to repo', usage) def _do_command(self): self._die_if_no_init()