LWN.net Logo

repository format?

repository format?

Posted Feb 26, 2010 21:42 UTC (Fri) by bfields (subscriber, #19510)
In reply to: repository format? by bboissin
Parent article: Hg Init: a Mercurial tutorial

If you use packs (as everybody does), corrupted writes in the pack could destroy the history too (but they probably use transactions and checks like hg to detect it).

No, my understanding is that packs are write-once just like other objects. (So you have to pack loose objects every now and then to keep performance from degrading.)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds