changeset 450:9d785fd7deec

Get set_exec from util in convert_repo -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Get set_exec from util in convert_repo manifest hash: 82fa9db49fa56127d59a7aae70b3c0527420ddad -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCu2LTywK+sNU5EO8RAjBwAJ4+8ME5PPzQumB4u8R0zpX84tqm8QCgqhzE cd83i0X45u09mKFNFruaHYY= =9LfW -----END PGP SIGNATURE-----
author mpm@selenic.com
date Thu, 23 Jun 2005 17:33:07 -0800
parents df83b2c306ac
children c9d134165392
files contrib/convert-repo
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/convert-repo	Thu Jun 23 14:12:57 2005 -0800
+++ b/contrib/convert-repo	Thu Jun 23 17:33:07 2005 -0800
@@ -21,7 +21,7 @@
 # interrupted and can be run repeatedly to copy new commits.
 
 import sys, os, zlib, sha
-from mercurial import hg, ui
+from mercurial import hg, ui, util
 
 class convert_git:
     def __init__(self, path):
@@ -91,7 +91,7 @@
         
     def putfile(self, f, e, data):
         self.repo.wfile(f, "w").write(data)
-        hg.set_exec(self.repo.wjoin(f), e)
+        util.set_exec(self.repo.wjoin(f), e)
 
     def delfile(self, f):
         try: