Skip to content
Snippets Groups Projects
Commit cc33deae authored by Valentin Gatien-Baron's avatar Valentin Gatien-Baron
Browse files

narrow: show repo corruption when commiting empty files

Differential Revision: https://phab.mercurial-scm.org/D11399
parent 053dd53a
No related branches found
No related tags found
No related merge requests found
......@@ -104,3 +104,15 @@
$ hg status
$ hg debugdirstate --no-dates
n 644 10 set inside/f1
Can't commit empty files
$ touch inside/c; hg add inside/c; hg commit -qm _; hg verify -q
warning: revlog 'data/inside/c.i' not in fncache!
4: empty or missing inside/c
inside/c@4: manifest refers to unknown revision 000000000000
1 warnings encountered!
hint: run "hg debugrebuildfncache" to recover from corrupt fncache
2 integrity errors encountered!
(first damaged changeset appears to be 4)
[1]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment