tests/test-revset-legacy-lookup.t
author Boris Feld <boris.feld@octobus.net>
Thu, 01 Mar 2018 11:37:16 -0500
changeset 37759 aa3f63e02c3c
child 37760 29eb4cafeeb8
permissions -rw-r--r--
revset: add more test to show current behaviors with label looking like revset There are very few constraints on what character can be put into tags and other labels. We add more tests showing some of extreme cases that user can currently use.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37759
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     1
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     2
  $ cat >> $HGRCPATH << EOF
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     3
  > [ui]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     4
  > logtemplate="{rev}:{node|short} {desc} [{tags}]\n"
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     5
  > EOF
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     6
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     7
  $ hg init legacy-lookup
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     8
  $ cd legacy-lookup
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     9
  $ echo a > a
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    10
  $ hg add a
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    11
  $ hg commit -m 'first'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    12
  $ echo aa > a
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    13
  $ hg commit -m 'second'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    14
  $ hg log -G
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    15
  @  1:43114e71eddd second [tip]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    16
  |
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    17
  o  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    18
  
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    19
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    20
Create a tag that looks like a revset
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    21
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    22
  $ hg tag 'rev(0)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    23
  $ hg log -G
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    24
  @  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd [tip]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    25
  |
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    26
  o  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    27
  |
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    28
  o  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    29
  
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    30
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    31
See how various things are resolved
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    32
-----------------------------------
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    33
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    34
Revision numbers
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    35
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    36
  $ hg log -r '0'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    37
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    38
  $ hg log -r '1'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    39
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    40
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    41
"rev(x)" form (the one conflicting with the tags)
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    42
(resolved as a label)
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    43
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    44
  $ hg log -r 'rev(0)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    45
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    46
  $ hg log -r 'rev(1)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    47
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    48
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    49
same within a simple revspec
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    50
(still resolved as the label)
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    51
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    52
  $ hg log -r ':rev(0)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    53
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    54
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    55
  $ hg log -r 'rev(0):'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    56
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    57
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd [tip]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    58
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    59
within a more advances revset
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    60
(still resolved as the label)
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    61
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    62
  $ hg log -r 'rev(0) and branch(default)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    63
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    64
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    65
some of the above with quote to force its resolution as a label
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    66
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    67
  $ hg log -r ':"rev(0)"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    68
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    69
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    70
  $ hg log -r '"rev(0)":'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    71
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    72
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd [tip]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    73
  $ hg log -r '"rev(0)" and branch(default)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    74
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    75
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    76
confusing bits within parents
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    77
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    78
  $ hg log -r '(rev(0))'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    79
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    80
  $ hg log -r '( rev(0))'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    81
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    82
  $ hg log -r '("rev(0)")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    83
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    84
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    85
Test label with quote in them.
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    86
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    87
  $ hg tag '"foo"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    88
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    89
  $ hg log -r '"foo"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    90
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd ["foo"]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    91
  $ hg log -r '("foo")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    92
  abort: unknown revision 'foo'!
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    93
  [255]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    94
  $ hg log -r '("\"foo\"")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    95
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd ["foo"]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    96
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    97
Test label with dash in them.
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    98
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
    99
  $ hg tag 'foo-bar'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   100
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   101
  $ hg log -r 'foo-bar'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   102
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   103
  $ hg log -r '(foo-bar)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   104
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   105
  $ hg log -r '"foo-bar"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   106
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   107
  $ hg log -r '("foo-bar")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   108
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   109
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   110
Test label with + in them.
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   111
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   112
  $ hg tag 'foo+bar'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   113
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   114
  $ hg log -r 'foo+bar'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   115
  4:bbf52b87b370 Added tag foo-bar for changeset a50aae922707 [foo+bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   116
  $ hg log -r '(foo+bar)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   117
  abort: unknown revision 'foo'!
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   118
  [255]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   119
  $ hg log -r '"foo+bar"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   120
  4:bbf52b87b370 Added tag foo-bar for changeset a50aae922707 [foo+bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   121
  $ hg log -r '("foo+bar")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   122
  4:bbf52b87b370 Added tag foo-bar for changeset a50aae922707 [foo+bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   123
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   124
Test tag with numeric version number.
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   125
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   126
  $ hg tag '1.2'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   127
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   128
  $ hg log -r '1.2'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   129
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   130
  $ hg log -r '(1.2)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   131
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   132
  $ hg log -r '"1.2"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   133
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   134
  $ hg log -r '("1.2")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   135
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   136
  $ hg log -r '::"1.2"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   137
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   138
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   139
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd ["foo"]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   140
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   141
  4:bbf52b87b370 Added tag foo-bar for changeset a50aae922707 [foo+bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   142
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   143
  $ hg log -r '::1.2'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   144
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   145
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   146
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd ["foo"]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   147
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   148
  4:bbf52b87b370 Added tag foo-bar for changeset a50aae922707 [foo+bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   149
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   150
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   151
Test tag with parenthesis (but not a valid revset)
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   152
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   153
  $ hg tag 'release_4.1(candidate1)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   154
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   155
  $ hg log -r 'release_4.1(candidate1)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   156
  6:db72e24fe069 Added tag 1.2 for changeset ff42fde8edbb [release_4.1(candidate1)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   157
  $ hg log -r '(release_4.1(candidate1))'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   158
  hg: parse error: unknown identifier: release_4.1
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   159
  [255]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   160
  $ hg log -r '"release_4.1(candidate1)"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   161
  6:db72e24fe069 Added tag 1.2 for changeset ff42fde8edbb [release_4.1(candidate1)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   162
  $ hg log -r '("release_4.1(candidate1)")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   163
  6:db72e24fe069 Added tag 1.2 for changeset ff42fde8edbb [release_4.1(candidate1)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   164
  $ hg log -r '::"release_4.1(candidate1)"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   165
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   166
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   167
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd ["foo"]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   168
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   169
  4:bbf52b87b370 Added tag foo-bar for changeset a50aae922707 [foo+bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   170
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   171
  6:db72e24fe069 Added tag 1.2 for changeset ff42fde8edbb [release_4.1(candidate1)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   172
  $ hg log -r '::release_4.1(candidate1)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   173
  hg: parse error: unknown identifier: release_4.1
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   174
  [255]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   175
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   176
Test tag with parenthesis and other function like char
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   177
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   178
  $ hg tag 'release_4.1(arch=x86,arm)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   179
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   180
  $ hg log -r 'release_4.1(arch=x86,arm)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   181
  7:b29b25d7d687 Added tag release_4.1(candidate1) for changeset db72e24fe069 [release_4.1(arch=x86,arm)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   182
  $ hg log -r '(release_4.1(arch=x86,arm))'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   183
  hg: parse error: unknown identifier: release_4.1
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   184
  [255]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   185
  $ hg log -r '"release_4.1(arch=x86,arm)"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   186
  7:b29b25d7d687 Added tag release_4.1(candidate1) for changeset db72e24fe069 [release_4.1(arch=x86,arm)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   187
  $ hg log -r '("release_4.1(arch=x86,arm)")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   188
  7:b29b25d7d687 Added tag release_4.1(candidate1) for changeset db72e24fe069 [release_4.1(arch=x86,arm)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   189
  $ hg log -r '::"release_4.1(arch=x86,arm)"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   190
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   191
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   192
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd ["foo"]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   193
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   194
  4:bbf52b87b370 Added tag foo-bar for changeset a50aae922707 [foo+bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   195
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   196
  6:db72e24fe069 Added tag 1.2 for changeset ff42fde8edbb [release_4.1(candidate1)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   197
  7:b29b25d7d687 Added tag release_4.1(candidate1) for changeset db72e24fe069 [release_4.1(arch=x86,arm)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   198
  $ hg log -r '::release_4.1(arch=x86,arm)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   199
  hg: parse error: unknown identifier: release_4.1
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   200
  [255]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   201
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   202
Test tag conflicting with revset function
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   203
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   204
  $ hg tag 'secret(team=foo,project=bar)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   205
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   206
  $ hg log -r 'secret(team=foo,project=bar)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   207
  8:6b2e2d4ea455 Added tag release_4.1(arch=x86,arm) for changeset b29b25d7d687 [secret(team=foo,project=bar)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   208
  $ hg log -r '(secret(team=foo,project=bar))'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   209
  hg: parse error: secret takes no arguments
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   210
  [255]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   211
  $ hg log -r '"secret(team=foo,project=bar)"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   212
  8:6b2e2d4ea455 Added tag release_4.1(arch=x86,arm) for changeset b29b25d7d687 [secret(team=foo,project=bar)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   213
  $ hg log -r '("secret(team=foo,project=bar)")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   214
  8:6b2e2d4ea455 Added tag release_4.1(arch=x86,arm) for changeset b29b25d7d687 [secret(team=foo,project=bar)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   215
  $ hg log -r '::"secret(team=foo,project=bar)"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   216
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   217
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   218
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd ["foo"]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   219
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   220
  4:bbf52b87b370 Added tag foo-bar for changeset a50aae922707 [foo+bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   221
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   222
  6:db72e24fe069 Added tag 1.2 for changeset ff42fde8edbb [release_4.1(candidate1)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   223
  7:b29b25d7d687 Added tag release_4.1(candidate1) for changeset db72e24fe069 [release_4.1(arch=x86,arm)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   224
  8:6b2e2d4ea455 Added tag release_4.1(arch=x86,arm) for changeset b29b25d7d687 [secret(team=foo,project=bar)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   225
  $ hg log -r '::secret(team=foo,project=bar)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   226
  hg: parse error: secret takes no arguments
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   227
  [255]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   228
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   229
Test tag with space
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   230
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   231
  $ hg tag 'my little version'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   232
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   233
  $ hg log -r 'my little version'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   234
  9:269192bf8fc3 Added tag secret(team=foo,project=bar) for changeset 6b2e2d4ea455 [my little version]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   235
  $ hg log -r '(my little version)'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   236
  hg: parse error at 4: unexpected token: symbol
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   237
  ((my little version)
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   238
       ^ here)
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   239
  [255]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   240
  $ hg log -r '"my little version"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   241
  9:269192bf8fc3 Added tag secret(team=foo,project=bar) for changeset 6b2e2d4ea455 [my little version]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   242
  $ hg log -r '("my little version")'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   243
  9:269192bf8fc3 Added tag secret(team=foo,project=bar) for changeset 6b2e2d4ea455 [my little version]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   244
  $ hg log -r '::"my little version"'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   245
  0:a87874c6ec31 first []
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   246
  1:43114e71eddd second [rev(0)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   247
  2:fb616635b18f Added tag rev(0) for changeset 43114e71eddd ["foo"]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   248
  3:a50aae922707 Added tag "foo" for changeset fb616635b18f [foo-bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   249
  4:bbf52b87b370 Added tag foo-bar for changeset a50aae922707 [foo+bar]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   250
  5:ff42fde8edbb Added tag foo+bar for changeset bbf52b87b370 [1.2]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   251
  6:db72e24fe069 Added tag 1.2 for changeset ff42fde8edbb [release_4.1(candidate1)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   252
  7:b29b25d7d687 Added tag release_4.1(candidate1) for changeset db72e24fe069 [release_4.1(arch=x86,arm)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   253
  8:6b2e2d4ea455 Added tag release_4.1(arch=x86,arm) for changeset b29b25d7d687 [secret(team=foo,project=bar)]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   254
  9:269192bf8fc3 Added tag secret(team=foo,project=bar) for changeset 6b2e2d4ea455 [my little version]
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   255
  $ hg log -r '::my little version'
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   256
  hg: parse error at 5: invalid token
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   257
  (::my little version
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   258
        ^ here)
aa3f63e02c3c revset: add more test to show current behaviors with label looking like revset
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
   259
  [255]