Fix hg qdiff <file>
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 19 Apr 2006 11:41:27 -0700
changeset 2097 4d2c2597876f
parent 2096 f5ebe964c6be
child 2100 2b8f887b2d1d
Fix hg qdiff <file>
hgext/mq.py
--- 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):