]> projects.mako.cc - mw/commitdiff
Rename fetch to pull
authorIan Weller <ian@ianweller.org>
Tue, 22 Dec 2009 08:46:09 +0000 (02:46 -0600)
committerIan Weller <ian@ianweller.org>
Tue, 22 Dec 2009 08:46:09 +0000 (02:46 -0600)
We'll use 'fetch' to download newer wiki revisions, which will lead to
using 'update' to apply those newer revisions.

src/mw/clicommands.py

index 7ead096c6fe43d217b5c4eebfe1f1450333b25b3..c180c6ada2f43af5c1b11e7dbda88ad2ca549989 100644 (file)
@@ -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()

Benjamin Mako Hill || Want to submit a patch?