changeset 2097:4d2c2597876f

Fix hg qdiff <file>
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 19 Apr 2006 11:41:27 -0700
parents f5ebe964c6be
children 2b8f887b2d1d
files hgext/mq.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Wed Apr 19 11:41:25 2006 -0700
+++ b/hgext/mq.py	Wed Apr 19 11:41:27 2006 -0700
@@ -1108,7 +1108,8 @@
 
 def diff(ui, repo, *files, **opts):
     """diff of the current patch"""
-    repomap[repo].diff(repo, files)
+    # deep in the dirstate code, the walkhelper method wants a list, not a tuple
+    repomap[repo].diff(repo, list(files))
     return 0
 
 def lastsavename(path):