##// END OF EJS Templates
lfs: only hardlink between the usercache and local store if the blob verifies...
lfs: only hardlink between the usercache and local store if the blob verifies This fixes the issue where verify (and other read commands) would propagate corrupt blobs. I originalled coded this to only hardlink if 'verify=True' for store.read(), but then good blobs weren't being linked, and this broke a bunch of tests. (The blob in repo5 that is being corrupted seems to be linked into repo5 in the loop running dumpflog.py prior to it being corrupted, but only if verify=False is handled too.) It's probably better to do a one time extra verification in order to create these files, so that the repo can be copied to a removable drive. Adding the same check to store.write() was only for completeness, but also needs to do a one time extra verification to avoid breaking tests.

File last commit:

r30873:dc22729b stable
r35493:bb6a80fc @10 default
Show More
changelog
5 lines | 164 B | text/plain | TextLexer
Sean Farley
builddeb: use the os codename instead of 'unstable'...
r28989 mercurial (__VERSION__) __CODENAME__; urgency=medium
Augie Fackler
debian: switch to using debhelper and dh_python2 to build debs...
r26148
* Automated build performed by upstream.
av6
debian: update mailing list address
r30873 -- Mercurial Devel <mercurial-devel@mercurial-scm.org> __DATE__