tests/test-import-merge.t
changeset 19628 3193b23eec61
parent 18656 8eb3408bf005
child 20303 3a3731a60354
equal deleted inserted replaced
19627:5df7118bdcd9 19628:3193b23eec61
   127   $ echo a>a
   127   $ echo a>a
   128   $ echo b>>a
   128   $ echo b>>a
   129   $ echo a>>a
   129   $ echo a>>a
   130   $ hg ci -m3
   130   $ hg ci -m3
   131   $ hg export 2 | head -7 > ../a.patch
   131   $ hg export 2 | head -7 > ../a.patch
   132   $ hg export tip | tail -n +8 >> ../a.patch
   132   $ hg export tip > out
       
   133   >>> apatch = open("../a.patch", "a")
       
   134   >>> apatch.write("".join(open("out").readlines()[7:]))
   133 
   135 
   134   $ cd ..
   136   $ cd ..
   135   $ hg clone -qr0 repo3 repo3-clone
   137   $ hg clone -qr0 repo3 repo3-clone
   136   $ cd repo3-clone
   138   $ cd repo3-clone
   137   $ hg pull -qr1 ../repo3
   139   $ hg pull -qr1 ../repo3