##// END OF EJS Templates
lfs-test: note a problem with unpushed lfs files and cloning/sharing...
Matt Harbison -
r35279:07687085 default
parent child Browse files
Show More
@@ -566,6 +566,35 b''
566 repo: repo9
566 repo: repo9
567 repo: repo10
567 repo: repo10
568
568
569 TODO: repo12 doesn't have any cached lfs files. Figure out how to get the
570 unpushed files from repo12's source instead of the remote store, where they
571 don't exist.
572
573 $ find $TESTTMP/repo12/.hg/store/lfs/objects -type f
574 find: */repo12/.hg/store/lfs/objects': $ENOENT$ (glob)
575 [1]
576
577 $ hg --config extensions.share= share repo12 repo13
578 updating working directory
579 abort: $TESTTMP/dummy-remote/09/66faba9a01f6c78082aa45899a4fef732002d0b26404e90093adf1e876ab8d: $ENOTDIR$ (glob)
580 [255]
581 $ hg clone repo12 repo14
582 updating to branch default
583 abort: $TESTTMP/dummy-remote/09/66faba9a01f6c78082aa45899a4fef732002d0b26404e90093adf1e876ab8d: $ENOTDIR$ (glob)
584 [255]
585
586 TODO: If the source repo doesn't have the blob (maybe it was pulled or cloned
587 with --noupdate), the blob should be accessible via the global cache to send to
588 the remote store.
589
590 $ rm -rf $TESTTMP/repo14/.hg/store/lfs
591 $ hg init repo15
592 $ hg -R repo14 push repo15
593 pushing to repo15
594 searching for changes
595 abort: $TESTTMP/repo14/.hg/store/lfs/objects/1c/896a0adcf9262119f4a98216aaa5ca00a58b9a0ce848914a02f9cd876f65a3: $ENOTDIR$ (glob)
596 [255]
597
569 lfs -> normal -> lfs round trip conversions are possible. The threshold for the
598 lfs -> normal -> lfs round trip conversions are possible. The threshold for the
570 lfs destination is specified here because it was originally listed in the local
599 lfs destination is specified here because it was originally listed in the local
571 .hgrc, and the global one is too high to trigger lfs usage. For lfs -> normal,
600 .hgrc, and the global one is too high to trigger lfs usage. For lfs -> normal,
General Comments 0
You need to be logged in to leave comments. Login now