Show More
@@ -542,7 +542,8 b' def catlfile(repo, lfile, rev, filename)' | |||
|
542 | 542 | path = lfutil.usercachepath(repo.ui, hash) |
|
543 | 543 | fpout = cmdutil.makefileobj(repo, filename) |
|
544 | 544 | fpin = open(path, "rb") |
|
545 | fpout.write(fpin.read()) | |
|
545 | for chunk in lfutil.blockstream(fpin): | |
|
546 | fpout.write(chunk) | |
|
546 | 547 | fpout.close() |
|
547 | 548 | fpin.close() |
|
548 | 549 | return 0 |
General Comments 0
You need to be logged in to leave comments.
Login now