Patchwork [5,of,6,py3,progress,v2] commands: use ctx.getfileset instead of fileset.getfileset

login
register
mail settings
Submitter Augie Fackler
Date Feb. 4, 2014, 10:24 p.m.
Message ID <f5feb6d0ebf4e9230b3f.1391552679@augie-macbookair>
Download mbox | patch
Permalink /patch/3475/
State Accepted
Commit 466707047c8d5429e84a0c9c09ca6be7a7963933
Headers show

Comments

Augie Fackler - Feb. 4, 2014, 10:24 p.m.
# HG changeset patch
# User Augie Fackler <raf@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

Patch

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]'))