Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 2855:cdbca3d59518
merge with mpm.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sat, 12 Aug 2006 11:53:12 -0700 |
parents | 2ff57e3113a4 046a8b03ea59 |
children | c9b08cacf983 |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Aug 11 09:11:54 2006 +0200 +++ b/mercurial/commands.py Sat Aug 12 11:53:12 2006 -0700 @@ -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,12 +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[f] and "755" or "644", f)) + ui.write("%40s %3s %s\n" % (hex(m[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