diff mercurial/commands.py @ 6743:86e8187b721a

simplify flag handling add _checklink var to dirstate introduce dirstate.flagfunc switch users of util.execfunc/linkfunc to flagfunc change manifestdict.set to take a flags string change ctx.fileflags to ctx.flags change gitmode func to a dict remove util.execfunc/linkfunc
author Matt Mackall <mpm@selenic.com>
date Thu, 26 Jun 2008 13:46:34 -0500
parents b148e9099133
children 1dca460e7d1e
line wrap: on
line diff
--- 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]: