tests/test-tags.t
changeset 12758 2d754eae430c
parent 12640 6cc4b14fb76b
child 12763 93c4da6c4416
equal deleted inserted replaced
12757:62c8f7691bc3 12758:2d754eae430c
    31   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    31   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    32   $ hg identify
    32   $ hg identify
    33   acb14030fe0a tip
    33   acb14030fe0a tip
    34   $ cacheexists
    34   $ cacheexists
    35   tag cache exists
    35   tag cache exists
       
    36 
       
    37 Try corrupting the cache
       
    38 
       
    39   $ echo 'a b\n' > .hg/tags.cache
       
    40   $ hg identify
       
    41   .hg/tags.cache is corrupt, rebuilding it
       
    42   acb14030fe0a tip
       
    43   $ cacheexists
       
    44   tag cache exists
       
    45   $ hg identify
       
    46   acb14030fe0a tip
    36 
    47 
    37 Create local tag with long name:
    48 Create local tag with long name:
    38 
    49 
    39   $ T=`hg identify --debug --id`
    50   $ T=`hg identify --debug --id`
    40   $ hg tag -l "This is a local tag with a really long name!"
    51   $ hg tag -l "This is a local tag with a really long name!"