Show More
@@ -619,11 +619,13 b' def override_archive(orig, repo, dest, n' | |||
|
619 | 619 | f = lfutil.splitstandin(f) |
|
620 | 620 | |
|
621 | 621 | def getdatafn(): |
|
622 | fd = None | |
|
622 | 623 | try: |
|
623 | 624 | fd = open(path, 'rb') |
|
624 | 625 | return fd.read() |
|
625 | 626 | finally: |
|
626 |
fd |
|
|
627 | if fd: | |
|
628 | fd.close() | |
|
627 | 629 | |
|
628 | 630 | getdata = getdatafn |
|
629 | 631 | write(f, 'x' in ff and 0755 or 0644, 'l' in ff, getdata) |
General Comments 0
You need to be logged in to leave comments.
Login now