changeset 14718:0c81948636f3 stable

fileset: copied takes no arguments
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 24 Jun 2011 01:10:35 +0200
parents c8ee2729e89f
children c19de7f32961
files mercurial/fileset.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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()