tests/test-revset.t
changeset 44710 eca82eb9d777
parent 42893 34a46d48d24e
child 44810 62435a5b46fe
equal deleted inserted replaced
44709:8859de3e83dc 44710:eca82eb9d777
  1272   3
  1272   3
  1273   4
  1273   4
  1274   5
  1274   5
  1275   7
  1275   7
  1276 
  1276 
       
  1277 test ancestors/descendants relation:
       
  1278 
       
  1279   $ log 'tip#generations'
       
  1280   0
       
  1281   1
       
  1282   2
       
  1283   4
       
  1284   8
       
  1285   9
       
  1286 
       
  1287   $ log '3#g'
       
  1288   0
       
  1289   1
       
  1290   3
       
  1291   5
       
  1292   6
       
  1293   7
       
  1294 
       
  1295   $ hg debugrevspec -p parsed 'tip#g'
       
  1296   * parsed:
       
  1297   (relation
       
  1298     (symbol 'tip')
       
  1299     (symbol 'g'))
       
  1300   0
       
  1301   1
       
  1302   2
       
  1303   4
       
  1304   8
       
  1305   9
       
  1306 
  1277 test ancestors/descendants relation subscript:
  1307 test ancestors/descendants relation subscript:
  1278 
  1308 
  1279   $ log 'tip#generations[0]'
  1309   $ log 'tip#generations[0]'
  1280   9
  1310   9
  1281   $ log '.#generations[-1]'
  1311   $ log '.#generations[-1]'