tests/test-status
changeset 6033 a1ebd5cd7e55
parent 3834 a7b61c3b0f93
child 6200 acc40572da5b
equal deleted inserted replaced
6032:b41f0d6a74fc 6033:a1ebd5cd7e55
    19 cd ..
    19 cd ..
    20 
    20 
    21 hg init repo2
    21 hg init repo2
    22 cd repo2
    22 cd repo2
    23 touch modified removed deleted ignored
    23 touch modified removed deleted ignored
    24 echo "ignored" > .hgignore
    24 echo "^ignored$" > .hgignore
    25 hg ci -A -m 'initial checkin' -d "1000000 0"
    25 hg ci -A -m 'initial checkin' -d "1000000 0"
    26 sleep 1 # make sure mtime is changed
    26 sleep 1 # make sure mtime is changed
    27 touch modified added unknown ignored
    27 touch modified added unknown ignored
    28 hg add added
    28 hg add added
    29 hg remove removed
    29 hg remove removed
    35 hg copy modified copied
    35 hg copy modified copied
    36 echo "hg status -C:"
    36 echo "hg status -C:"
    37 hg status -C
    37 hg status -C
    38 echo "hg status -A:"
    38 echo "hg status -A:"
    39 hg status -A
    39 hg status -A
       
    40 echo "^ignoreddir$" > .hgignore
       
    41 mkdir ignoreddir
       
    42 touch ignoreddir/file
       
    43 echo "hg status ignoreddir/file:"
       
    44 hg status ignoreddir/file
       
    45 echo "hg status -i ignoreddir/file:"
       
    46 hg status -i ignoreddir/file