fileset: copied takes no arguments stable
authorMads Kiilerich <mads@kiilerich.com>
Fri, 24 Jun 2011 01:10:35 +0200
branchstable
changeset 14718 0c81948636f3
parent 14717 c8ee2729e89f
child 14719 c19de7f32961
fileset: copied takes no arguments
mercurial/fileset.py
--- a/mercurial/fileset.py	Wed Jun 22 01:55:00 2011 +0200
+++ b/mercurial/fileset.py	Fri Jun 24 01:10:35 2011 +0200
@@ -335,6 +335,7 @@
     """``copied()``
     File that is recorded as being copied.
     """
+    getargs(x, 0, 0, _("copied takes no arguments"))
     s = []
     for f in mctx.subset:
         p = mctx.ctx[f].parents()