tests/test-git-export
changeset 3695 3a2fc90d27d6
parent 3694 c0b1a0c72c7d
child 3696 562a65635bcb
equal deleted inserted replaced
3694:c0b1a0c72c7d 3695:3a2fc90d27d6
    92 hg diff --git -r -4:-1
    92 hg diff --git -r -4:-1
    93 echo
    93 echo
    94 echo '% file created after r1 and renamed before r2'
    94 echo '% file created after r1 and renamed before r2'
    95 hg diff --git -r -5:-1
    95 hg diff --git -r -5:-1
    96 
    96 
       
    97 echo
       
    98 echo '% comparing with the working dir'
       
    99 echo >> start
       
   100 hg ci -m 'change start again' -d '0 0'
       
   101 
       
   102 echo > created
       
   103 hg add created
       
   104 hg ci -m 'add created'
       
   105 
       
   106 hg mv created created2
       
   107 hg ci -m 'mv created created2'
       
   108 
       
   109 hg mv created2 created3
       
   110 echo "% there's a copy in the working dir..."
       
   111 hg diff --git
       
   112 echo
       
   113 echo "% ...but there's another copy between the original rev and the wd"
       
   114 hg diff --git -r -2