tests/test-bookmarks.t
changeset 13386 f78bc5ddbe4f
parent 13385 d012d95499f7
child 13388 a184dbd9b2c5
equal deleted inserted replaced
13385:d012d95499f7 13386:f78bc5ddbe4f
    34 
    34 
    35 look up bookmark
    35 look up bookmark
    36 
    36 
    37   $ hg log -r X
    37   $ hg log -r X
    38   changeset:   0:f7b1eb17ad24
    38   changeset:   0:f7b1eb17ad24
       
    39   bookmark:    X
    39   tag:         tip
    40   tag:         tip
    40   user:        test
    41   user:        test
    41   date:        Thu Jan 01 00:00:00 1970 +0000
    42   date:        Thu Jan 01 00:00:00 1970 +0000
    42   summary:     0
    43   summary:     0
    43   
    44   
    63 
    64 
    64 bookmarks revset
    65 bookmarks revset
    65 
    66 
    66   $ hg log -r 'bookmark()'
    67   $ hg log -r 'bookmark()'
    67   changeset:   1:925d80f479bb
    68   changeset:   1:925d80f479bb
       
    69   bookmark:    X
       
    70   bookmark:    X2
    68   tag:         tip
    71   tag:         tip
    69   user:        test
    72   user:        test
    70   date:        Thu Jan 01 00:00:00 1970 +0000
    73   date:        Thu Jan 01 00:00:00 1970 +0000
    71   summary:     1
    74   summary:     1
    72   
    75   
    73   $ hg log -r 'bookmark(Y)'
    76   $ hg log -r 'bookmark(Y)'
    74   $ hg log -r 'bookmark(X2)'
    77   $ hg log -r 'bookmark(X2)'
    75   changeset:   1:925d80f479bb
    78   changeset:   1:925d80f479bb
       
    79   bookmark:    X
       
    80   bookmark:    X2
    76   tag:         tip
    81   tag:         tip
    77   user:        test
    82   user:        test
    78   date:        Thu Jan 01 00:00:00 1970 +0000
    83   date:        Thu Jan 01 00:00:00 1970 +0000
    79   summary:     1
    84   summary:     1
    80   
    85   
   159 
   164 
   160 look up stripped bookmark name
   165 look up stripped bookmark name
   161 
   166 
   162   $ hg log -r '"x  y"'
   167   $ hg log -r '"x  y"'
   163   changeset:   2:0316ce92851d
   168   changeset:   2:0316ce92851d
       
   169   bookmark:    X2
       
   170   bookmark:    Y
       
   171   bookmark:    x  y
   164   tag:         tip
   172   tag:         tip
   165   user:        test
   173   user:        test
   166   date:        Thu Jan 01 00:00:00 1970 +0000
   174   date:        Thu Jan 01 00:00:00 1970 +0000
   167   summary:     2
   175   summary:     2
   168   
   176