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
+++ b/hgext/mq.py
@@ -1108,7 +1108,8 @@ def refresh(ui, repo, **opts):
 
 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):