lev haikin
lev haikin

Reputation: 588

Reduce mercurial .hg folder size

I have a mercurial repo with several GB under .hg/store/data. I identified several huge folders under .hg/store/data which start with underscore (e.g.: .hg/store/data/_some_path_example), and they are not present in the working directory.

I tried to use hg convert extension with a filemap with exclude statements, but the directories are still there in the converted repo. What should be the paths in the exclude statements that would remove the .hg/store/data/_some_path_example paths with underscores?...

Thanks!

Upvotes: 4

Views: 838

Answers (1)

lev haikin
lev haikin

Reputation: 588

For the sake of other's who have the same question/issue: As I wrote in a comment, the meaning of leading underscore is mercurial's way to specify that the letter coming after the underscore is upper-case. I inserted exclude lines with correct case letters, and conversion worked as planned.

Upvotes: 2

Related Questions