diff -r 4f559a469972 -r 153dd9139b0e mercurial/commands.py --- a/mercurial/commands.py Thu Mar 11 18:49:41 2010 +0100 +++ b/mercurial/commands.py Thu Mar 11 19:09:35 2010 +0100 @@ -196,7 +196,7 @@ } for type, extensions in exttypes.items(): - if any(dest.endswith(ext) for ext in extensions): + if util.any(dest.endswith(ext) for ext in extensions): return type return None