tests/test-keyword
changeset 485 5c3637b12e88
parent 482 18dc6c3588ea
child 511 fbe7b0409072
equal deleted inserted replaced
482:18dc6c3588ea 485:5c3637b12e88
   299 echo % hgweb filediff
   299 echo % hgweb filediff
   300 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw')
   300 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw')
   301 echo % errors encountered
   301 echo % errors encountered
   302 cat errors.log
   302 cat errors.log
   303 
   303 
       
   304 echo % merge/resolve
       
   305 echo '$Id$' > m
       
   306 hg add m
       
   307 hg commit -m 4kw 
       
   308 echo foo >> m
       
   309 hg commit -m 5foo
       
   310 echo % simplemerge
       
   311 hg update 4
       
   312 echo foo >> m
       
   313 hg commit -m 6foo
       
   314 hg merge
       
   315 hg commit -m simplemerge
       
   316 cat m
       
   317 echo % conflict
       
   318 hg update 4
       
   319 echo bar >> m
       
   320 hg commit -m 8bar
       
   321 hg merge
       
   322 echo % keyword stays outside conflict zone
       
   323 cat m
       
   324 echo % resolve to local
       
   325 HGMERGE=internal:local hg resolve
       
   326 hg commit -m localresolve
       
   327 cat m
       
   328 
   304 echo % switch off expansion
   329 echo % switch off expansion
   305 echo % kwshrink with unknown file u
   330 echo % kwshrink with unknown file u
   306 cp a u
   331 cp a u
   307 hg --verbose kwshrink
   332 hg --verbose kwshrink
   308 echo % cat
   333 echo % cat