# HG changeset patch # User Martijn Pieters # Date 1455554406 0 # Node ID 28024d0d42dcc49fdf5c4af9200f939571ba9f7b # Parent cfa0037448f4c1cdaa8b2be8ff669d93d005190f automv: simplify retrieving the status The default is to show the status in the current working copy, no need to pass in the parent and working copy context here. diff -r cfa0037448f4 -r 28024d0d42dc hgext/automv.py --- a/hgext/automv.py Mon Feb 08 05:56:25 2016 +0000 +++ b/hgext/automv.py Mon Feb 15 16:40:06 2016 +0000 @@ -46,7 +46,7 @@ return orig(ui, repo, *pats, **opts) def _interestingfiles(repo, matcher): - stat = repo.status(repo['.'], repo[None], matcher) + stat = repo.status(match=matcher) added = stat[1] removed = stat[2]