# HG changeset patch # User Steve Losh # Date 1295717303 18000 # Node ID b2e4864dc599b99eb3bc57963d7d576ce9548ca2 # Parent 2cca772f7e3d99885c06f78e26c58688e3933976 Make fetch update the inc/out cache. Patch from David Roguin. diff -r 2cca772f7e3d -r b2e4864dc599 prompt.py --- a/prompt.py Sat Jan 22 12:26:30 2011 -0500 +++ b/prompt.py Sat Jan 22 12:28:23 2011 -0500 @@ -419,6 +419,10 @@ 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":