##// END OF EJS Templates
diff: fix obscure off-by-one error in diff -p
diff: fix obscure off-by-one error in diff -p

File last commit:

r6888:7c36a4fb default
r7436:07faba78 default
Show More
test-commit-unresolved.out
14 lines | 451 B | text/plain | TextLexer
/ tests / test-commit-unresolved.out
Stefano Tortarolo
make commit fail when committing unresolved files
r6888 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
created new head
% Merging a conflict araises
merging A
warning: conflicts during merge.
merging A failed!
1 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges
% Correct the conflict without marking the file as resolved
abort: unresolved merge conflicts (see hg resolve)
% Mark the conflict as resolved and commit