Commits

Steve Losh committed b2e4864

Make fetch update the inc/out cache.

Patch from David Roguin.

Comments (0)

Files changed (1)

 def uisetup(ui):
     extensions.wrapcommand(commands.table, 'pull', _pull_with_cache)
     extensions.wrapcommand(commands.table, 'push', _push_with_cache)
+    try:
+        extensions.wrapcommand(extensions.find("fetch").cmdtable, 'fetch', _pull_with_cache)
+    except KeyError:
+        pass
 
 cmdtable = {
     "prompt":