##// END OF EJS Templates
lfs: don't add extension to hgrc after conversion (BC)...
Matt Harbison -
r40404:fad60682 default
parent child Browse files
Show More
@@ -213,10 +213,6 b' def convertsink(orig, sink):'
213 self.repo.requirements.add('lfs')
213 self.repo.requirements.add('lfs')
214 self.repo._writerequirements()
214 self.repo._writerequirements()
215
215
216 # Permanently enable lfs locally
217 self.repo.vfs.append(
218 'hgrc', util.tonativeeol('\n[extensions]\nlfs=\n'))
219
220 return node
216 return node
221
217
222 sink.__class__ = lfssink
218 sink.__class__ = lfssink
@@ -286,8 +286,7 b' parameters are available, but not --auth'
286 0 remove large_by_size.bin
286 0 remove large_by_size.bin
287 $ cd nolargefiles
287 $ cd nolargefiles
288
288
289 The requirement is added to the destination repo, and the extension is enabled
289 The requirement is added to the destination repo.
290 locally.
291
290
292 $ cat .hg/requires
291 $ cat .hg/requires
293 dotencode
292 dotencode
@@ -296,8 +295,6 b' locally.'
296 lfs
295 lfs
297 revlogv1
296 revlogv1
298 store
297 store
299 $ hg config --debug extensions | grep lfs
300 $TESTTMP/nolargefiles/.hg/hgrc:*: extensions.lfs= (glob)
301
298
302 $ hg log -r 'all()' -G -T '{rev} {join(lfs_files, ", ")} ({desc})\n'
299 $ hg log -r 'all()' -G -T '{rev} {join(lfs_files, ", ")} ({desc})\n'
303 o 8 large_by_size.bin (remove large_by_size.bin)
300 o 8 large_by_size.bin (remove large_by_size.bin)
@@ -1030,9 +1030,6 b' This convert is trickier, because it con'
1030 size 39
1030 size 39
1031 x-is-binary 0
1031 x-is-binary 0
1032
1032
1033 $ hg -R convert_lfs2 config --debug extensions | grep lfs
1034 $TESTTMP/convert_lfs2/.hg/hgrc:*: extensions.lfs= (glob)
1035
1036 Committing deleted files works:
1033 Committing deleted files works:
1037
1034
1038 $ hg init $TESTTMP/repo-del
1035 $ hg init $TESTTMP/repo-del
General Comments 0
You need to be logged in to leave comments. Login now