tests/test-issue1306
changeset 7045 f82938c87b92
child 8452 cb93eee1fbcd
equal deleted inserted replaced
7044:e51c0f41f271 7045:f82938c87b92
       
     1 echo % initialize remote repo with branches
       
     2 hg init remote
       
     3 cd remote
       
     4 echo a > a
       
     5 hg ci -Ama
       
     6 hg branch br
       
     7 hg ci -Amb
       
     8 echo c > c
       
     9 hg ci -Amc
       
    10 hg log
       
    11 
       
    12 cd ..
       
    13 echo % try cloning -r branch
       
    14 hg clone -rbr remote local1
       
    15 hg -R local1 parents
       
    16 
       
    17 echo % try cloning -rother clone#branch
       
    18 hg clone -r0 remote#br local2
       
    19 hg -R local2 parents
       
    20 
       
    21 echo % try cloning -r1 clone#branch
       
    22 hg clone -r1 remote#br local3
       
    23 hg -R local3 parents