remotefilelog: Large Manifest

Son Luong Ngoc son.luong at booking.com
Fri Feb 21 17:13:57 UTC 2020


Hey folks,

Another question tinkering with RemoteFileLog extension is how to deal with large number of changelog and manifest?
In particular, this is my current store after shallow cloning with RemoteFileLog (on a large repo, total clone time is ~20 mins) 

~/test/repo-hg/.hg/store> du -sh ./*
304M    ./00changelog.d
 81M    ./00changelog.i
1.8G    ./00manifest.d
 80M    ./00manifest.i
  0B    ./data
  0B    ./phaseroots
4.0K    ./undo
4.0K    ./undo.backupfiles
  0B    ./undo.phaseroots

Client side config
~> cat ~/.hgrc
  [extensions]
  remotefilelog =
  fsmonitor =
  sparse =

  [remotefilelog]
  cachepath = /Users/sluongngoc/test/hgcache
  cachelimit = 10

Serverside config

> cat .hg/hgrc
[paths]
# HG-Git stuff
default = git+ssh://git@gitserver/path/repo.git

[remotefilelog]
server = True
serverexpiration = 10

Thanks,
Son Luong.


More information about the Mercurial mailing list