tests/test-git-interop.t
changeset 44478 6d953b3fc2bd
parent 44477 ad718271a9eb
child 44483 2e464925f662
equal deleted inserted replaced
44477:ad718271a9eb 44478:6d953b3fc2bd
   178   |  user:        test <test@example.org>
   178   |  user:        test <test@example.org>
   179   ~  date:        Mon Jan 01 00:00:11 2007 +0000
   179   ~  date:        Mon Jan 01 00:00:11 2007 +0000
   180      summary:     Add beta
   180      summary:     Add beta
   181   
   181   
   182 
   182 
   183 node|shortest works correctly
       
   184   $ hg log -r tip --template "{node|shortest}\n"
       
   185   6626
       
   186 
       
   187 hg annotate
   183 hg annotate
   188 
   184 
   189   $ hg annotate alpha
   185   $ hg annotate alpha
   190   0: alpha
   186   0: alpha
   191   2: a
   187   2: a
   219   $ git status
   215   $ git status
   220   On branch master
   216   On branch master
   221   nothing to commit, working tree clean
   217   nothing to commit, working tree clean
   222   $ hg status
   218   $ hg status
   223 
   219 
       
   220 
       
   221 node|shortest works correctly
       
   222   $ hg log -T '{node}\n' | sort
       
   223   3d9be8deba43482be2c81a4cb4be1f10d85fa8bc
       
   224   6626247b7dc8f231b183b8a4761c89139baca2ad
       
   225   a1983dd7fb19cbd83ad5a1c2fc8bf3d775dea12f
       
   226   ae1ab744f95bfd5b07cf573baef98a778058537b
       
   227   c5864c9d16fb3431fe2c175ff84dc6accdbb2c18
       
   228   d8ee22687733a1991813560b15128cd9734f4b48
       
   229   $ hg log -r ae1ab744f95bfd5b07cf573baef98a778058537b --template "{shortest(node,1)}\n"
       
   230   ae
       
   231