Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Add guidance for resolving merge conflicts for generated files #133

Open

Description

@lazytype

IIRC, Facebook has a custom merge driver for Mercurial that can automatically resolve conflicts for generated files. Before this was in place I believe one had to manually re-generate code that had conflicts. Would it be possible to:

  • open source the merge driver(s)
  • also provide them for Git
  • document these, or what to do in the absence of these

Activity

  1. jjergus commented on Aug 28, 2020

    @jjergus
    Contributor

    open source the merge driver(s)

    I think the relevant code is here: https://github.com/facebookexperimental/eden/blob/master/eden/scm/edenscm/hgext/mergedriver.py

    Unfortunately I can't find any good documentation, but there are some tests that can be used as examples: https://github.com/facebookexperimental/eden/search?q=mergedriver&unscoped_q=mergedriver

    I agree this should be mentioned somewhere in this repository and better documented, keeping this issue open for that.

  2. 888Mouse commented on Sep 23, 2024

    @888Mouse

    Hi, I am Korean. I want to work with you Please send me a message on my Telegram @z7777_88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions