From 7908c70efbd0420e21c2b0b7841b61e3b933be51 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Mon, 20 Mar 2023 02:08:37 -0600 Subject: [PATCH] Trivial simplifications Signed-off-by: Felipe Contreras --- git-remote-hg | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/git-remote-hg b/git-remote-hg index e500211..797ebbc 100755 --- a/git-remote-hg +++ b/git-remote-hg @@ -297,14 +297,12 @@ def export_file(ctx, fname): else: mark = marks.next_mark() filenodes[fid] = mark - d = f.data() print("blob") print("mark :%u" % mark) - print_data(d) + print_data(f.data()) - path = fix_file_path(fname) - return gitmode(f.flags()), mark, path + return gitmode(f.flags()), mark, fix_file_path(fname) def get_filechanges(repo, ctx, parents, files): if not parents: