tests/test-import
branchstable
changeset 10775 c52057614c72
parent 10748 fb06e357e698
child 10883 196908117c27
equal deleted inserted replaced
10772:1e819576e926 10775:c52057614c72
   165 hg clone -r0 a b
   165 hg clone -r0 a b
   166 hg --cwd a export tip | sed -e 's/d1\/d2\///' > tip.patch
   166 hg --cwd a export tip | sed -e 's/d1\/d2\///' > tip.patch
   167 dir=`pwd`
   167 dir=`pwd`
   168 cd b/d1/d2 2>&1 > /dev/null
   168 cd b/d1/d2 2>&1 > /dev/null
   169 hg import  ../../../tip.patch
   169 hg import  ../../../tip.patch
   170 cd $dir
   170 cd "$dir"
   171 echo "% message should be 'subdir change'"
   171 echo "% message should be 'subdir change'"
   172 hg --cwd b tip | grep 'subdir change'
   172 hg --cwd b tip | grep 'subdir change'
   173 echo "% committer should be 'someoneelse'"
   173 echo "% committer should be 'someoneelse'"
   174 hg --cwd b tip | grep someoneelse
   174 hg --cwd b tip | grep someoneelse
   175 echo "% should be empty"
   175 echo "% should be empty"