##// END OF EJS Templates
Get set_exec from util in convert_repo...
mpm@selenic.com -
r450:9d785fd7 default
parent child Browse files
Show More
@@ -21,7 +21,7
21 # interrupted and can be run repeatedly to copy new commits.
21 # interrupted and can be run repeatedly to copy new commits.
22
22
23 import sys, os, zlib, sha
23 import sys, os, zlib, sha
24 from mercurial import hg, ui
24 from mercurial import hg, ui, util
25
25
26 class convert_git:
26 class convert_git:
27 def __init__(self, path):
27 def __init__(self, path):
@@ -91,7 +91,7 class convert_mercurial:
91
91
92 def putfile(self, f, e, data):
92 def putfile(self, f, e, data):
93 self.repo.wfile(f, "w").write(data)
93 self.repo.wfile(f, "w").write(data)
94 hg.set_exec(self.repo.wjoin(f), e)
94 util.set_exec(self.repo.wjoin(f), e)
95
95
96 def delfile(self, f):
96 def delfile(self, f):
97 try:
97 try:
General Comments 0
You need to be logged in to leave comments. Login now