##// END OF EJS Templates
test-lfs: drop an unresolved issue note, now that lfs.track=none() is a thing
Matt Harbison -
r35667:1f0690bf default
parent child Browse files
Show More
@@ -826,18 +826,12 b' Accessing a corrupt file will complain'
826 abort: integrity check failed on data/large.i:0!
826 abort: integrity check failed on data/large.i:0!
827 [255]
827 [255]
828
828
829 lfs -> normal -> lfs round trip conversions are possible. The threshold for the
829 lfs -> normal -> lfs round trip conversions are possible. The 'none()'
830 lfs destination is specified here because it was originally listed in the local
830 predicate on the command line will override whatever is configured globally and
831 .hgrc, and the global one is too high to trigger lfs usage. For lfs -> normal,
831 locally, and ensures everything converts to a regular file. For lfs -> normal,
832 there's no 'lfs' destination repo requirement. For normal -> lfs, there is.
832 there's no 'lfs' destination repo requirement. For normal -> lfs, there is.
833
833
834 XXX: There's not a great way to ensure that the conversion to normal files
834 $ hg --config extensions.convert= --config 'lfs.track=none()' \
835 actually converts _everything_ to normal. The extension needs to be loaded for
836 the source, but there's no way to disable it for the destination. The best that
837 can be done is to raise the threshold so that lfs isn't used on the destination.
838 It doesn't like using '!' to unset the value on the command line.
839
840 $ hg --config extensions.convert= --config lfs.threshold=1000M \
841 > convert repo8 convert_normal
835 > convert repo8 convert_normal
842 initializing destination convert_normal repository
836 initializing destination convert_normal repository
843 scanning source...
837 scanning source...
General Comments 0
You need to be logged in to leave comments. Login now