tests/test-mq-qrename
changeset 3083 82c9d1aac308
child 6649 05a682c8907d
equal deleted inserted replaced
3082:bed7cb835d8d 3083:82c9d1aac308
       
     1 #!/bin/sh
       
     2 
       
     3 echo "[extensions]" >> $HGRCPATH
       
     4 echo "mq=" >> $HGRCPATH
       
     5 
       
     6 hg init a
       
     7 cd a
       
     8 
       
     9 echo 'base' > base
       
    10 hg ci -Ambase -d '1 0'
       
    11 
       
    12 hg qnew -mmqbase mqbase
       
    13 hg qrename mqbase renamed
       
    14 mkdir .hg/patches/foo
       
    15 hg qrename renamed foo
       
    16 hg qseries
       
    17 ls .hg/patches/foo
       
    18 mkdir .hg/patches/bar
       
    19 hg qrename foo/renamed bar
       
    20 hg qseries
       
    21 ls .hg/patches/bar
       
    22 hg qrename bar/renamed baz
       
    23 hg qseries
       
    24 ls .hg/patches/baz
       
    25