Show More
@@ -505,16 +505,12 b' class localrepository(repo.repository):' | |||
|
505 | 505 | |
|
506 | 506 | def wwrite(self, filename, data, flags): |
|
507 | 507 | data = self._filter("decode", filename, data) |
|
508 | if "l" in flags: | |
|
509 |
self.wo |
|
|
510 |
e |
|
|
511 |
|
|
|
512 | if self._link(filename): | |
|
513 |
|
|
|
514 | except OSError: | |
|
515 | pass | |
|
516 | self.wopener(filename, 'w').write(data) | |
|
517 | util.set_exec(self.wjoin(filename), "x" in flags) | |
|
508 | try: | |
|
509 | os.unlink(self.wjoin(filename)) | |
|
510 | except OSError: | |
|
511 | pass | |
|
512 | self.wopener(filename, 'w').write(data) | |
|
513 | util.set_flags(self.wjoin(filename), flags) | |
|
518 | 514 | |
|
519 | 515 | def wwritedata(self, filename, data): |
|
520 | 516 | return self._filter("decode", filename, data) |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now