Skip to content
Novus Examples
txt217 B

Merge Conflict - Nested Markers From a Conflicted Resolution

Someone committed a file that still contained conflict markers, and merging that commit produced markers inside markers. Region matchers that pair the first `<<<<<<<` with the first `=======` split this file in the wrong place and produce two overlapping regions that cannot both be resolved.

Preview — first 14 linestxt
route:
<<<<<<< HEAD
  primary: eu-west
<<<<<<< HEAD
  fallback: eu-north
=======
  fallback: eu-central
>>>>>>> hotfix/failover
=======
  primary: eu-central
  fallback: eu-west
>>>>>>> feature/retry-budget
  ttl: 30

Specifications

Seed
20260807
Conflict Style
merge
Repository Name
deploy/routes.yaml
Regions
1
Nested Regions
1
Nesting Depth
2
Line Endings
LF
Encoding
UTF-8

Testing contract

Expected to recover
Scenario
Parse a conflicted file whose ours side itself contains an unresolved conflict region.
Expected result
Markers are matched by nesting depth, giving one outer region containing one inner region — not two flat, overlapping regions.

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 - Nested Markers From a Conflicted Resolution” 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.