tests/test-revisions.t
changeset 38843 6f7c9527030b
parent 38842 503f936489dd
child 39069 4c4825db29e1
equal deleted inserted replaced
38842:503f936489dd 38843:6f7c9527030b
    21   0:b
    21   0:b
    22   $ cat <<EOF >> .hg/hgrc
    22   $ cat <<EOF >> .hg/hgrc
    23   > [experimental]
    23   > [experimental]
    24   > revisions.disambiguatewithin=:3
    24   > revisions.disambiguatewithin=:3
    25   > EOF
    25   > EOF
       
    26   $ hg l
       
    27   4:7ba5d
       
    28   3:7b
       
    29   2:72
       
    30   1:9
       
    31   0:b
    26 9 was unambiguous and still is
    32 9 was unambiguous and still is
    27   $ hg l -r 9
    33   $ hg l -r 9
    28   1:9
    34   1:9
    29 7 was ambiguous and still is
    35 7 was ambiguous and still is
    30   $ hg l -r 7
    36   $ hg l -r 7
    31   abort: 00changelog.i@7: ambiguous identifier!
    37   abort: 00changelog.i@7: ambiguous identifier!
    32   [255]
    38   [255]
    33 7b is no longer ambiguous
    39 7b is no longer ambiguous
    34   $ hg l -r 7b
    40   $ hg l -r 7b
    35   3:7ba57
    41   3:7b
    36 
    42 
    37   $ cd ..
    43   $ cd ..