Show More
@@ -1011,7 +1011,7 b' class svn_sink(converter_sink, commandli' | |||
|
1011 | 1011 | fp = open(hook, 'w') |
|
1012 | 1012 | fp.write(pre_revprop_change) |
|
1013 | 1013 | fp.close() |
|
1014 |
util.set |
|
|
1014 | util.setflags(hook, False, True) | |
|
1015 | 1015 | |
|
1016 | 1016 | output = self.run0('info') |
|
1017 | 1017 | self.uuid = self.uuid_re.search(output).group(1).strip() |
@@ -1038,7 +1038,7 b' class svn_sink(converter_sink, commandli' | |||
|
1038 | 1038 | # systematically is just as expensive and much simpler. |
|
1039 | 1039 | was_exec = 'x' not in flags |
|
1040 | 1040 | |
|
1041 |
util.set |
|
|
1041 | util.setflags(self.wjoin(filename), False, 'x' in flags) | |
|
1042 | 1042 | if was_exec: |
|
1043 | 1043 | if 'x' not in flags: |
|
1044 | 1044 | self.delexec.append(filename) |
@@ -99,7 +99,7 b' def snapshot(ui, repo, files, node, tmpr' | |||
|
99 | 99 | else: |
|
100 | 100 | wopener.write(wfn, data) |
|
101 | 101 | if 'x' in fctx.flags(): |
|
102 |
util.set |
|
|
102 | util.setflags(dest, False, True) | |
|
103 | 103 | if node is None: |
|
104 | 104 | fns_and_mtime.append((dest, repo.wjoin(fn), |
|
105 | 105 | os.lstat(dest).st_mtime)) |
@@ -369,7 +369,7 b' def updatedir(ui, repo, patches, similar' | |||
|
369 | 369 | if gp.op == 'ADD' and not os.path.lexists(dst): |
|
370 | 370 | flags = (isexec and 'x' or '') + (islink and 'l' or '') |
|
371 | 371 | repo.wwrite(gp.path, '', flags) |
|
372 |
util.set |
|
|
372 | util.setflags(dst, islink, isexec) | |
|
373 | 373 | addremove(repo, cfiles, similarity=similarity) |
|
374 | 374 | files = patches.keys() |
|
375 | 375 | files.extend([r for r in removes if r not in files]) |
@@ -659,7 +659,7 b' class localrepository(repo.repository):' | |||
|
659 | 659 | else: |
|
660 | 660 | self.wopener.write(filename, data) |
|
661 | 661 | if 'x' in flags: |
|
662 |
util.set |
|
|
662 | util.setflags(self.wjoin(filename), False, True) | |
|
663 | 663 | |
|
664 | 664 | def wwritedata(self, filename, data): |
|
665 | 665 | return self._filter(self._decodefilterpats, filename, data) |
@@ -336,7 +336,7 b' def applyupdates(repo, action, wctx, mct' | |||
|
336 | 336 | updated += 1 |
|
337 | 337 | else: |
|
338 | 338 | merged += 1 |
|
339 |
util.set |
|
|
339 | util.setflags(repo.wjoin(fd), 'l' in flags, 'x' in flags) | |
|
340 | 340 | if (move and repo.dirstate.normalize(fd) != f |
|
341 | 341 | and os.path.lexists(repo.wjoin(f))): |
|
342 | 342 | repo.ui.debug("removing %s\n" % f) |
@@ -370,7 +370,7 b' def applyupdates(repo, action, wctx, mct' | |||
|
370 | 370 | repo.ui.warn(" %s\n" % nf) |
|
371 | 371 | elif m == "e": # exec |
|
372 | 372 | flags = a[2] |
|
373 |
util.set |
|
|
373 | util.setflags(repo.wjoin(f), 'l' in flags, 'x' in flags) | |
|
374 | 374 | ms.commit() |
|
375 | 375 | u.progress(_('updating'), None, total=numupdates, unit=_('files')) |
|
376 | 376 |
General Comments 0
You need to be logged in to leave comments.
Login now