tests/test-largefiles.t
branchstable
changeset 17658 a02c1ffddae9
parent 17601 6e2ab601be3f
child 17659 ae57920ac188
equal deleted inserted replaced
17628:133d13e44544 17658:a02c1ffddae9
   541   C sub/large4
   541   C sub/large4
   542   C sub/normal4
   542   C sub/normal4
   543   C sub2/large6
   543   C sub2/large6
   544   C sub2/large7
   544   C sub2/large7
   545 
   545 
       
   546 Test commit -A (issue 3542)
       
   547   $ echo large8 > large8
       
   548   $ hg add --large large8
       
   549   $ hg ci -Am 'this used to add large8 as normal and commit both'
       
   550   Invoking status precommit hook
       
   551   A large8
       
   552   Invoking status postcommit hook
       
   553   C large8
       
   554   C normal
       
   555   C normal3
       
   556   C sub/large4
       
   557   C sub/normal4
       
   558   C sub2/large6
       
   559   C sub2/large7
       
   560   $ rm large8
       
   561   $ hg ci -Am 'this used to not notice the rm'
       
   562   removing large8
       
   563   Invoking status precommit hook
       
   564   R large8
       
   565   Invoking status postcommit hook
       
   566   C normal
       
   567   C normal3
       
   568   C sub/large4
       
   569   C sub/normal4
       
   570   C sub2/large6
       
   571   C sub2/large7
       
   572 
   546 Test that a standin can't be added as a large file
   573 Test that a standin can't be added as a large file
   547 
   574 
   548   $ touch large
   575   $ touch large
   549   $ hg add --large large
   576   $ hg add --large large
   550   $ hg ci -m "add"
   577   $ hg ci -m "add"
   586   parent:      10:34f23ac6ac12
   613   parent:      10:34f23ac6ac12
   587   user:        test
   614   user:        test
   588   date:        Thu Jan 01 00:00:00 1970 +0000
   615   date:        Thu Jan 01 00:00:00 1970 +0000
   589   summary:     removed large
   616   summary:     removed large
   590   
   617   
       
   618   changeset:   13:0a3e75774479
       
   619   user:        test
       
   620   date:        Thu Jan 01 00:00:00 1970 +0000
       
   621   summary:     this used to add large8 as normal and commit both
       
   622   
       
   623   changeset:   14:84f3d378175c
       
   624   user:        test
       
   625   date:        Thu Jan 01 00:00:00 1970 +0000
       
   626   summary:     this used to not notice the rm
       
   627   
   591   searching for changes
   628   searching for changes
   592   largefiles to upload:
   629   largefiles to upload:
       
   630   large8
   593   large
   631   large
   594   foo
   632   foo
   595   
   633   
   596   $ cd ../a
   634   $ cd ../a
   597 
   635