Skip to content

Conflict on module B, when migrating module A #21

@legalsylvain

Description

@legalsylvain

Context
Try to port the module pos_environment (https://github.com/OCA/server-env/tree/12.0/pos_environment) from 12.0 to 16.0
Command executed : oca-port --upstream=OCA --fork=legalsylvain --verbose 12.0 16.0 pos_environment

Error :

Port PR #141 (https://github.com/OCA/server-env/pull/141) [12.0][UPD] update dotfiles using copier..
Port it? [y/N]: y
ERROR:
Cmd('git') failed due to: exit code(128)
  cmdline: git am -3 --keep /tmp/tmp1x776n0e/0001-UPD-update-dotfiles-using-copier.patch
Falling back to patching base and 3-way merge...
Auto-merging server_environment_ir_config_parameter/tests/test_server_environment_ircp.py
CONFLICT (content): Merge conflict in server_environment_ir_config_parameter/tests/test_server_environment_ircp.py
Auto-merging server_environment_ir_config_parameter/__manifest__.py
CONFLICT (content): Merge conflict in server_environment_ir_config_parameter/__manifest__.py
Auto-merging server_environment/__manifest__.py
CONFLICT (content): Merge conflict in server_environment/__manifest__.py

Analysis
There are conflict in other module. server_environment still migrated and that I don't want to migrate.

I was expecting that the cherry pick of the commits was filtering the path of the module I want to migrate.

I don't have the issue if I use the "traditional" Method. (Thttps://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0#technical-method-to-migrate-a-module-from-150-to-160-branch)

Did I missed something ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions