Commits

Anonymous committed 9f0a127

fix bug in tasklog where specifying a filename will cause crash
fixes #11

Comments (0)

Files changed (1)

             args = [ n for n in args[1:] ]
             if len(nodes) < 1:
                 return
-        opts['rev'] = ['%d:%d' %
-            (repo.changelog.rev(nodes[-1]), repo.changelog.rev(nodes[0]))]
+            opts['rev'] = ['%d:%d' %
+                (repo.changelog.rev(nodes[-1]), repo.changelog.rev(nodes[0]))]
     return orig(ui, repo, *args, **opts)
 
 def stashshas(repo, task):