diff hgext/mq.py @ 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 8742352db413
children 5acd648770d0
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):