diff --git a/git-remote-hg b/git-remote-hg index 8b916f3..a167387 100755 --- a/git-remote-hg +++ b/git-remote-hg @@ -424,6 +424,10 @@ def export_files(files): return final def get_filechanges(repo, ctx, parent): + if hasattr(parent, 'status'): + stat = parent.status(ctx) + return stat.modified + stat.added, stat.removed + modified = set() added = set() removed = set()