##// END OF EJS Templates
convert/svn: use util.set_flags
Matt Mackall -
r5705:4e400863 default
parent child Browse files
Show More
@@ -765,7 +765,7 b' class svn_sink(converter_sink, commandli'
765 fp = open(hook, 'w')
765 fp = open(hook, 'w')
766 fp.write(pre_revprop_change)
766 fp.write(pre_revprop_change)
767 fp.close()
767 fp.close()
768 util.set_exec(hook, True)
768 util.set_flags(hook, "x")
769
769
770 xport = transport.SvnRaTransport(url=geturl(path))
770 xport = transport.SvnRaTransport(url=geturl(path))
771 self.uuid = svn.ra.get_uuid(xport.ra)
771 self.uuid = svn.ra.get_uuid(xport.ra)
@@ -792,7 +792,7 b' class svn_sink(converter_sink, commandli'
792 # systematically is just as expensive and much simpler.
792 # systematically is just as expensive and much simpler.
793 was_exec = 'x' not in flags
793 was_exec = 'x' not in flags
794
794
795 util.set_exec(self.wjoin(filename), 'x' in flags)
795 util.set_flags(self.wjoin(filename), flags)
796 if was_exec:
796 if was_exec:
797 if 'x' not in flags:
797 if 'x' not in flags:
798 self.delexec.append(filename)
798 self.delexec.append(filename)
General Comments 0
You need to be logged in to leave comments. Login now