mercurial/cmdutil.py
changeset 26324 4a8e21578e14
parent 26229 d1530c6e8613
child 26389 bda14660f0d7
--- a/mercurial/cmdutil.py	Thu Sep 24 00:56:30 2015 -0700
+++ b/mercurial/cmdutil.py	Thu Sep 24 01:58:33 2015 -0700
@@ -2763,7 +2763,9 @@
 
     return "\n".join(edittext)
 
-def commitstatus(repo, node, branch, bheads=None, opts={}):
+def commitstatus(repo, node, branch, bheads=None, opts=None):
+    if opts is None:
+        opts = {}
     ctx = repo[node]
     parents = ctx.parents()