Skip to content

hg2git-mapping changes after each run? #114

Description

@emilianbold

Hello,

I'm maintaining a Git repository[1] that tracks a Mercurial repository[2] still getting commits.

This works well, except for my 'backup' system: I figured that it might be a good idea to save the hg2git-* files, in case I need to move this incremental conversion over to another machine.

1st question: Do I really need to save hg2git files or can I safely resume the incremental conversion on another machine with less work? (Meaning, are the existing mappings picked-up from the git changeset themselves or something?)

2nd question: hg2git-mapping changes entirely after each run. I would have expected the file to get only some new lines as new commits are converted. But it seems to ordering of lines is random so the diff is huge. Wouldn't it make sense for entires in hg2git-mapping to be sorted or for the file to be append-only somehow?

  1. https://github.com/emilianbold/netbeans-releases
  2. http://hg.netbeans.org/releases/

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution-requiredMaintainer has no time and/or no plans to work on this, interested parties should submit a patchfeature-requestThis is a feature requestpatches-welcomeThe reporter is welcome to submit a patch to fix the reported issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions