# HG changeset patch # User Mads Kiilerich # Date 2011-06-23 23:10:35 # Node ID 0c81948636f369748df584e1bba18ad31de1371e # Parent c8ee2729e89f4c8951b505c0317bddf97e908c20 fileset: copied takes no arguments diff --git a/mercurial/fileset.py b/mercurial/fileset.py --- a/mercurial/fileset.py +++ b/mercurial/fileset.py @@ -335,6 +335,7 @@ def copied(mctx, x): """``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()