mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
9d996cd13f
Add [merge-tool] hgrc section with: <tool>.executable = name or path (<tool>) <tool>.args = args with $local/base/other/output ($local $base $other) <tool>.priority = priority (default 0) <tool>.binary = handles binary (False) <tool>.symlink = handles symlinks (False) <tool>.checkconflict = check for conflict markers (False) <tool>.premerge = try internal simplemerge (True if not binary or symlink) Four built-in tools: internal:{merge,local,other,fail} Add [merge-patterns] section of the form: <pattern> = <tool> Priority of settings is: HGMERGE merge-patterns ui:merge merge-tools by priority hgmerge, if it can be found Changes: unsuccessful merges leave .orig files
20 lines
547 B
Plaintext
20 lines
547 B
Plaintext
adding bar
|
|
adding foo
|
|
adding quux1
|
|
adding quux2
|
|
merging bar
|
|
merging bar failed!
|
|
merging foo and baz
|
|
1 files updated, 1 files merged, 0 files removed, 1 files unresolved
|
|
There are unresolved merges, you can redo the full merge using:
|
|
hg update -C 2
|
|
hg merge 1
|
|
3 files updated, 0 files merged, 1 files removed, 0 files unresolved
|
|
merging bar
|
|
merging bar failed!
|
|
merging baz and foo
|
|
1 files updated, 1 files merged, 0 files removed, 1 files unresolved
|
|
There are unresolved merges, you can redo the full merge using:
|
|
hg update -C 1
|
|
hg merge 2
|