Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 2840:046a8b03ea59
Change remaining users of manifest flags
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 11 Aug 2006 10:57:42 -0500 |
parents | e78cad1f6b1f |
children | cdbca3d59518 |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Aug 10 22:38:56 2006 -0500 +++ b/mercurial/commands.py Fri Aug 11 10:57:42 2006 -0500 @@ -1333,9 +1333,9 @@ rev = repo.lookup(rev) change = repo.changelog.read(rev) n = change[0] - files = repo.manifest.readflags(n) + files = repo.manifest.read(n) wlock = repo.wlock() - repo.dirstate.rebuild(rev, files.iteritems()) + repo.dirstate.rebuild(rev, files) def debugcheckstate(ui, repo): """validate the correctness of the current dirstate""" @@ -2146,13 +2146,12 @@ else: n = repo.manifest.tip() m = repo.manifest.read(n) - mf = repo.manifest.readflags(n) files = m.keys() files.sort() for f in files: ui.write("%40s %3s %s\n" % (hex(m[f]), - mf.execf(f) and "755" or "644", f)) + m.execf(f) and "755" or "644", f)) def merge(ui, repo, node=None, force=None, branch=None): """Merge working directory with another revision