--- a/hgext/convert/subversion.py Thu Dec 27 22:27:48 2007 -0600
+++ b/hgext/convert/subversion.py Thu Dec 27 22:29:17 2007 -0600
@@ -765,7 +765,7 @@
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 @@
# 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)