##// END OF EJS Templates
test-lfs: bump the number on test repo11 and higher...
Matt Harbison -
r35635:b75ea116 default
parent child Browse files
Show More
@@ -489,8 +489,8 b' enabled adds the lfs requirement'
489
489
490 # Test fctx.cmp fastpath - diff without LFS blobs
490 # Test fctx.cmp fastpath - diff without LFS blobs
491
491
492 $ hg init repo11
492 $ hg init repo12
493 $ cd repo11
493 $ cd repo12
494 $ cat >> .hg/hgrc <<EOF
494 $ cat >> .hg/hgrc <<EOF
495 > [lfs]
495 > [lfs]
496 > threshold=1
496 > threshold=1
@@ -520,8 +520,8 b' enabled adds the lfs requirement'
520
520
521 $ cd ..
521 $ cd ..
522
522
523 $ hg clone repo11 repo12 --noupdate
523 $ hg clone repo12 repo13 --noupdate
524 $ cd repo12
524 $ cd repo13
525 $ hg log --removed -p a -T '{desc}\n' --config diff.nobinary=1 --git
525 $ hg log --removed -p a -T '{desc}\n' --config diff.nobinary=1 --git
526 2
526 2
527 diff --git a/a b/a
527 diff --git a/a b/a
@@ -590,37 +590,37 b' enabled adds the lfs requirement'
590 repo: repo9
590 repo: repo9
591 repo: repo10
591 repo: repo10
592
592
593 repo12 doesn't have any cached lfs files and its source never pushed its
593 repo13 doesn't have any cached lfs files and its source never pushed its
594 files. Therefore, the files don't exist in the remote store. Use the files in
594 files. Therefore, the files don't exist in the remote store. Use the files in
595 the user cache.
595 the user cache.
596
596
597 $ test -d $TESTTMP/repo12/.hg/store/lfs/objects
597 $ test -d $TESTTMP/repo13/.hg/store/lfs/objects
598 [1]
598 [1]
599
599
600 $ hg --config extensions.share= share repo12 repo13
600 $ hg --config extensions.share= share repo13 repo14
601 updating working directory
601 updating working directory
602 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
602 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
603 $ hg -R repo13 -q verify
603 $ hg -R repo14 -q verify
604
604
605 $ hg clone repo12 repo14
605 $ hg clone repo13 repo15
606 updating to branch default
606 updating to branch default
607 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
607 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
608 $ hg -R repo14 -q verify
608 $ hg -R repo15 -q verify
609
609
610 If the source repo doesn't have the blob (maybe it was pulled or cloned with
610 If the source repo doesn't have the blob (maybe it was pulled or cloned with
611 --noupdate), the blob is still accessible via the global cache to send to the
611 --noupdate), the blob is still accessible via the global cache to send to the
612 remote store.
612 remote store.
613
613
614 $ rm -rf $TESTTMP/repo14/.hg/store/lfs
614 $ rm -rf $TESTTMP/repo15/.hg/store/lfs
615 $ hg init repo15
615 $ hg init repo16
616 $ hg -R repo14 push repo15
616 $ hg -R repo15 push repo16
617 pushing to repo15
617 pushing to repo16
618 searching for changes
618 searching for changes
619 adding changesets
619 adding changesets
620 adding manifests
620 adding manifests
621 adding file changes
621 adding file changes
622 added 3 changesets with 2 changes to 1 files
622 added 3 changesets with 2 changes to 1 files
623 $ hg -R repo14 -q verify
623 $ hg -R repo15 -q verify
624
624
625 Test damaged file scenarios. (This also damages the usercache because of the
625 Test damaged file scenarios. (This also damages the usercache because of the
626 hardlinks.)
626 hardlinks.)
General Comments 0
You need to be logged in to leave comments. Login now