Repo is growing rapidly on "Ammend to commit" even if there is only a small change
- Create a new Repo (hg init)
- Commit a small text file =>
.hg
folder has some KB - Commit a big binary file =>
.hg
folder has e. g. 20 MB - Change a line in the text file
- Choose "Amend current revision" (I want to overwrite the last commit)
I would expect that .hg
folder has still 20 MB.
But in reality it grows to 40 MB!!!
That is a mistake because the old commit should be overwritten.
Finally I am not able to access the first commit anymore so why whould I waste disc space?