Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
cc33deae
Commit
cc33deae
authored
3 years ago
by
Valentin Gatien-Baron
Browse files
Options
Downloads
Patches
Plain Diff
narrow: show repo corruption when commiting empty files
Differential Revision:
https://phab.mercurial-scm.org/D11399
parent
053dd53a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test-narrow-commit.t
+12
-0
12 additions, 0 deletions
tests/test-narrow-commit.t
with
12 additions
and
0 deletions
tests/test-narrow-commit.t
+
12
−
0
View file @
cc33deae
...
...
@@ -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
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment