tests/test-largefiles.t
branchstable
changeset 17576 e0081bb5450e
parent 17575 98d6a10bc401
child 17579 cbacb5a813dd
equal deleted inserted replaced
17575:98d6a10bc401 17576:e0081bb5450e
    77   ? sub/unknown
    77   ? sub/unknown
    78   C sub/large2
    78   C sub/large2
    79   C sub/normal2
    79   C sub/normal2
    80   $ rm sub/unknown
    80   $ rm sub/unknown
    81 
    81 
       
    82 Test exit codes for remove warning cases (modified and still exiting)
       
    83 
       
    84   $ hg remove -A large1
       
    85   not removing large1: file still exists (use forget to undo)
       
    86   [1]
       
    87   $ echo 'modified' > large1
       
    88   $ hg remove large1
       
    89   not removing large1: file is modified (use forget to undo)
       
    90   [1]
       
    91   $ hg up -Cq
       
    92 
    82 Remove both largefiles and normal files.
    93 Remove both largefiles and normal files.
    83  
    94  
    84   $ hg remove normal1 large1
    95   $ hg remove normal1 large1
    85   $ hg status large1
    96   $ hg status large1
    86   R large1
    97   R large1
    94   $ hg add --large large1-test
   105   $ hg add --large large1-test
    95   $ hg st
   106   $ hg st
    96   A large1-test
   107   A large1-test
    97   $ hg rm large1-test
   108   $ hg rm large1-test
    98   not removing large1-test: file has been marked for add (use forget to undo)
   109   not removing large1-test: file has been marked for add (use forget to undo)
       
   110   [1]
    99   $ hg st
   111   $ hg st
   100   A large1-test
   112   A large1-test
   101   $ hg forget large1-test
   113   $ hg forget large1-test
   102   $ hg st
   114   $ hg st
   103   ? large1-test
   115   ? large1-test
       
   116   $ hg remove large1-test
       
   117   not removing large1-test: file is untracked
       
   118   [1]
   104   $ rm large1-test
   119   $ rm large1-test
   105 
   120 
   106 Copy both largefiles and normal files (testing that status output is correct).
   121 Copy both largefiles and normal files (testing that status output is correct).
   107 
   122 
   108   $ hg cp sub/normal2 normal1
   123   $ hg cp sub/normal2 normal1