Skip to content
Novus Examples
txt172 B

Merge Conflict - diff3 Marker Style With Base Section

The same conflict with `merge.conflictStyle=diff3`, which inserts the merge base between the two sides behind a row of pipes. Tools that split a conflict on `=======` alone silently fold the ancestor text into the ours side.

Preview — first 12 linestxt
service: ledger
<<<<<<< HEAD
timeout: 60
jitter: on
||||||| merged common ancestors
timeout: 30
=======
timeout: 45
jitter: on
>>>>>>> feature/retry-budget
backoff: linear

Specifications

Seed
20260807
Conflict Style
diff3
Repository Name
config/service.yaml
Regions
1
Markers
<<<<<<< ||||||| ======= >>>>>>>
Has Base Section
true
Ours
main
Theirs
feature/retry-budget
Line Endings
LF
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Parse a conflict region that contains a ||||||| base section.
Expected result
Three sections are recovered — ours, base ('timeout: 30'), theirs — and the base text is not attributed to either side.

What is a .txt file?

TXT is a plain-text file containing unformatted character data with no styling or structure beyond line breaks. Its interpretation depends on character encoding, most commonly UTF-8, and on line-ending convention. It is the most universal and portable text container.

How to use this file

Use an example TXT to test encoding detection, line-ending (LF versus CRLF) handling, and any tool that reads or streams raw text input.

How to use this file for testing

“Merge Conflict - diff3 Marker Style With Base Section” is a deterministic Novus Examples fixture for Error handling, Visual diff / regression, Code parsing. Deliberately corrupt and invalid files, clearly labelled, for testing how your tool fails.

Documented properties for this file: seed 20260807 · UTF-8 · LF. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Diff and patch fixtures name their target paths and the exact edge case they exercise — rename, mode change, binary hunk, CRLF↔LF, or missing trailing newline. Apply or render them against the documented before-state; every author, path, and hash is fictional.

Generated by generation/version_control.py. Free for any use, no attribution required — license.