diff -r 2d54e7c1e69d -r 86e8187b721a mercurial/commands.py --- a/mercurial/commands.py Thu Jun 26 13:46:33 2008 -0500 +++ b/mercurial/commands.py Thu Jun 26 13:46:34 2008 -0500 @@ -2480,7 +2480,7 @@ if not opts.get('dry_run'): def checkout(f): fc = ctx[f] - repo.wwrite(f, fc.data(), fc.fileflags()) + repo.wwrite(f, fc.data(), fc.flags()) audit_path = util.path_auditor(repo.root) for f in remove[0]: