[PATCH 5 of 5 py3 progress] commands: use ctx.getfileset instead of fileset.getfileset

Augie Fackler raf at durin42.com
Tue Feb 4 14:50:19 CST 2014


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1391543704 18000
#      Tue Feb 04 14:55:04 2014 -0500
# Node ID f5feb6d0ebf4e9230b3f0de91c0ae76dbe1ba408
# Parent  5100071fb8beed4a73cb626778bda483e641ef12
commands: use ctx.getfileset instead of fileset.getfileset

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1944,7 +1944,7 @@
         tree = fileset.parse(expr)[0]
         ui.note(tree, "\n")
 
-    for f in fileset.getfileset(ctx, expr):
+    for f in ctx.getfileset(expr):
         ui.write("%s\n" % f)
 
 @command('debugfsinfo', [], _('[PATH]'))


More information about the Mercurial-devel mailing list