diff --git a/hg-fast-export.py b/hg-fast-export.py index bf8c310..fa4e852 100755 --- a/hg-fast-export.py +++ b/hg-fast-export.py @@ -172,7 +172,7 @@ def largefile_orig_name(filename): def largefile_data(ctx, file, filename): lf_file_ctx=ctx.filectx(file) - lf_hash=lf_file_ctx.data().strip(b'\n') + lf_hash=lf_file_ctx.data().strip() sys.stderr.write("Detected large file hash %s\n" % lf_hash.decode()) #should detect where the large files are located file_with_data = lfutil.findfile(ctx.repo(), lf_hash)