tests/test-mq-qfold
changeset 10190 9c2c94934f0d
parent 10186 296a0b14a686
child 10397 8cb81d75730c
equal deleted inserted replaced
10189:e451e599fbcf 10190:9c2c94934f0d
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 echo "[extensions]" >> $HGRCPATH
     3 echo "[extensions]" >> $HGRCPATH
     4 echo "mq=" >> $HGRCPATH
     4 echo "mq=" >> $HGRCPATH
       
     5 echo "[mq]" >> $HGRCPATH
       
     6 echo "git=keep" >> $HGRCPATH
     5 
     7 
     6 filterdiff()
     8 filterdiff()
     7 {
     9 {
     8     grep -v diff | \
    10     grep -v diff | \
     9 	sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
    11 	sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \