##// END OF EJS Templates
subrepo: handle unexpected file types from git gracefully...
Matt Harbison -
r47521:d6601547 stable
parent child Browse files
Show More
@@ -1876,7 +1876,12 b' class gitsubrepo(abstractsubrepo):'
1876 1876 if info.issym():
1877 1877 data = info.linkname
1878 1878 else:
1879 data = tar.extractfile(info).read()
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 1885 archiver.addfile(prefix + bname, info.mode, info.issym(), data)
1881 1886 total += 1
1882 1887 progress.increment()
General Comments 0
You need to be logged in to leave comments. Login now