Mercurial > public > mercurial-scm > hg-stable
diff hgext/mq.py @ 30379:d79c141fdf41
manifest: remove usages of manifest.read
Now that the two manifestctx implementations have working read() functions,
let's remove the existing uses of manifest.read and drop the function.
author | Durham Goode <durham@fb.com> |
---|---|
date | Thu, 10 Nov 2016 02:13:19 -0800 |
parents | 3006d0d26ad3 |
children | acd30a959980 |
line wrap: on
line diff
--- a/hgext/mq.py Thu Nov 10 02:13:19 2016 -0800 +++ b/hgext/mq.py Thu Nov 10 02:13:19 2016 -0800 @@ -1660,7 +1660,7 @@ # caching against the next repo.status call mm, aa, dd = repo.status(patchparent, top)[:3] changes = repo.changelog.read(top) - man = repo.manifest.read(changes[0]) + man = repo.manifestlog[changes[0]].read() aaa = aa[:] matchfn = scmutil.match(repo[None], pats, opts) # in short mode, we only diff the files included in the