tests/test-largefiles.t
branchstable
changeset 17462 8085fed2bf0a
parent 17411 a02e36568e88
child 17468 8fea378242e3
child 17575 98d6a10bc401
equal deleted inserted replaced
17461:bacde764fba0 17462:8085fed2bf0a
    11   > [largefiles]
    11   > [largefiles]
    12   > minsize=2
    12   > minsize=2
    13   > patterns=glob:**.dat
    13   > patterns=glob:**.dat
    14   > usercache=${USERCACHE}
    14   > usercache=${USERCACHE}
    15   > [hooks]
    15   > [hooks]
    16   > precommit=sh -c "echo \"Invoking status precommit hook\"; hg status"
    16   > precommit=sh -c "echo \\"Invoking status precommit hook\\"; hg status"
    17   > EOF
    17   > EOF
    18 
    18 
    19 Create the repo with a couple of revisions of both large and normal
    19 Create the repo with a couple of revisions of both large and normal
    20 files, testing that status correctly shows largefiles and that summary output
    20 files, testing that status correctly shows largefiles and that summary output
    21 is correct.
    21 is correct.
   432   getting changed largefiles
   432   getting changed largefiles
   433   3 largefiles updated, 0 removed
   433   3 largefiles updated, 0 removed
   434   $ cd ../addrm
   434   $ cd ../addrm
   435   $ cat >> .hg/hgrc <<EOF
   435   $ cat >> .hg/hgrc <<EOF
   436   > [hooks]
   436   > [hooks]
   437   > post-commit.stat=sh -c "echo \"Invoking status postcommit hook\"; hg status -A"
   437   > post-commit.stat=sh -c "echo \\"Invoking status postcommit hook\\"; hg status -A"
   438   > EOF
   438   > EOF
   439   $ touch foo
   439   $ touch foo
   440   $ hg add --large foo
   440   $ hg add --large foo
   441   $ hg ci -m "add foo"
   441   $ hg ci -m "add foo"
   442   Invoking status precommit hook
   442   Invoking status precommit hook