Mercurial > hg
changeset 9126:64994005bcb7
Merge with bos
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Tue, 14 Jul 2009 17:59:36 -0700 |
parents | 8b58f53b9c35 (diff) 632df73485ae (current diff) |
children | 35c3f94233a0 78b81646a2e4 |
files | |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/repair.py Tue Jul 14 17:18:45 2009 -0700 +++ b/mercurial/repair.py Tue Jul 14 17:59:36 2009 -0700 @@ -112,7 +112,6 @@ chgrpfile = _bundle(repo, savebases, saveheads, node, 'temp', extranodes) - fs = [repo.file(name) for name in files] mfst = repo.manifest tr = repo.transaction() @@ -121,8 +120,8 @@ tr.startgroup() cl.strip(striprev, tr) mfst.strip(striprev, tr) - for f in fs: - f.strip(striprev, tr) + for fn in files: + repo.file(fn).strip(striprev, tr) tr.endgroup() try: