diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py --- a/hgext/convert/subversion.py +++ b/hgext/convert/subversion.py @@ -765,7 +765,7 @@ class svn_sink(converter_sink, commandli fp = open(hook, 'w') fp.write(pre_revprop_change) fp.close() - util.set_exec(hook, True) + util.set_flags(hook, "x") xport = transport.SvnRaTransport(url=geturl(path)) self.uuid = svn.ra.get_uuid(xport.ra) @@ -792,7 +792,7 @@ class svn_sink(converter_sink, commandli # systematically is just as expensive and much simpler. was_exec = 'x' not in flags - util.set_exec(self.wjoin(filename), 'x' in flags) + util.set_flags(self.wjoin(filename), flags) if was_exec: if 'x' not in flags: self.delexec.append(filename)