Show More
@@ -1876,7 +1876,12 b' class gitsubrepo(abstractsubrepo):' | |||||
1876 | if info.issym(): |
|
1876 | if info.issym(): | |
1877 | data = info.linkname |
|
1877 | data = info.linkname | |
1878 | else: |
|
1878 | else: | |
1879 |
|
|
1879 | f = tar.extractfile(info) | |
|
1880 | if f: | |||
|
1881 | data = f.read() | |||
|
1882 | else: | |||
|
1883 | self.ui.warn(_(b'skipping "%s" (unknown type)') % bname) | |||
|
1884 | continue | |||
1880 | archiver.addfile(prefix + bname, info.mode, info.issym(), data) |
|
1885 | archiver.addfile(prefix + bname, info.mode, info.issym(), data) | |
1881 | total += 1 |
|
1886 | total += 1 | |
1882 | progress.increment() |
|
1887 | progress.increment() |
General Comments 0
You need to be logged in to leave comments.
Login now