tests/test-keyword.t
changeset 818 b742a071ad9c
parent 817 cd834b4035ec
child 821 04cb1661adc8
equal deleted inserted replaced
817:cd834b4035ec 818:b742a071ad9c
   371 
   371 
   372 File a should be clean
   372 File a should be clean
   373 
   373 
   374   $ hg status -A a
   374   $ hg status -A a
   375   C a
   375   C a
   376   $ rm msg
       
   377 
   376 
   378 rollback and revert expansion
   377 rollback and revert expansion
   379 
   378 
   380   $ cat a
   379   $ cat a
   381   expand $Id: a,v 59f969a3b52c 1970/01/01 00:00:01 test $
   380   expand $Id: a,v 59f969a3b52c 1970/01/01 00:00:01 test $
   415   $ hg forget y z
   414   $ hg forget y z
   416   $ rm y z
   415   $ rm y z
   417 
   416 
   418   $ hg update -C
   417   $ hg update -C
   419   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   418   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   419 
       
   420 record added file
       
   421 
       
   422   $ echo '$Id$' > r
       
   423   $ hg add r
       
   424   $ hg -v record -l msg -d '1 12' r<<EOF
       
   425   > y
       
   426   > EOF
       
   427   diff --git a/r b/r
       
   428   new file mode 100644
       
   429   examine changes to 'r'? [Ynsfdaq?] 
       
   430   r
       
   431   committed changeset 3:899491280810
       
   432   overwriting r expanding keywords
       
   433   $ hg --verbose rollback
       
   434   rolling back to revision 2 (undo commit)
       
   435   overwriting r shrinking keywords
       
   436   $ hg forget r
       
   437   $ rm msg r
   420 
   438 
   421 Test patch queue repo
   439 Test patch queue repo
   422 
   440 
   423   $ hg init --mq
   441   $ hg init --mq
   424   $ hg qimport -r tip -n mqtest.diff
   442   $ hg qimport -r tip -n mqtest.diff