Show More
@@ -389,6 +389,7 b' def _filecommit(' | |||||
389 | text = fctx.data() |
|
389 | text = fctx.data() | |
390 | if ( |
|
390 | if ( | |
391 | fparent2 != repo.nullid |
|
391 | fparent2 != repo.nullid | |
|
392 | or fparent1 == repo.nullid | |||
392 | or meta |
|
393 | or meta | |
393 | or flog.cmp(fparent1, text) |
|
394 | or flog.cmp(fparent1, text) | |
394 | or force_new_node |
|
395 | or force_new_node |
@@ -105,14 +105,7 b" debugdirstate. If we don't do this, the " | |||||
105 | $ hg debugdirstate --no-dates |
|
105 | $ hg debugdirstate --no-dates | |
106 | n 644 10 set inside/f1 |
|
106 | n 644 10 set inside/f1 | |
107 |
|
107 | |||
108 |
Can |
|
108 | Can commit empty files | |
109 |
|
109 | |||
110 | $ touch inside/c; hg add inside/c; hg commit -qm _; hg verify -q |
|
110 | $ touch inside/c; hg add inside/c; hg commit -qm _; hg verify -q | |
111 | warning: revlog 'data/inside/c.i' not in fncache! |
|
111 | $ hg cat -r . inside/c | |
112 | 4: empty or missing inside/c |
|
|||
113 | inside/c@4: manifest refers to unknown revision 000000000000 |
|
|||
114 | 1 warnings encountered! |
|
|||
115 | hint: run "hg debugrebuildfncache" to recover from corrupt fncache |
|
|||
116 | 2 integrity errors encountered! |
|
|||
117 | (first damaged changeset appears to be 4) |
|
|||
118 | [1] |
|
General Comments 0
You need to be logged in to leave comments.
Login now