doc/hgrev.txt
author Mahlon E. Smith <mahlon@martini.nu>
Wed, 18 Oct 2017 10:54:16 -0700
branchvim-stuff
changeset 30 92095e6c3cf6
parent 29 dda9eb90cf5d
permissions -rw-r--r--
Fix key lookup when a repo is found, but the file under edit isn't a part of it.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     1
*hgrev.txt* Last change: $Id$
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     2
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     3
                VIM REFERENCE MANUAL    by Mahlon E. Smith
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     4
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     5
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     6
                                   HGRev
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     7
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     8
A simple plugin for showing the current buffer's HG revision           *HGRev*
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
     9
==============================================================================
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    10
CONTENTS                                                       *HGRevContents*
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    11
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    12
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    13
    1) Intro........................................|HGRevIntro|
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    14
    2) Configuration................................|HGRevOptions|
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    15
        2.1) Altering revision info shown...........|g:hgrevFlags|
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    16
        2.2) Appending file status info.............|g:hgrevAddStatus|
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    17
        2.3) Automatically updating status..........|g:hgrevAutoUpdate|
16
88c3c5bc695a Fix the documentation TOC for the hgrevNoRepoChar option.
Mahlon E. Smith <mahlon@martini.nu>
parents: 15
diff changeset
    18
        2.4) Changing non-repo buffer behavior......|g:hgrevNoRepoChar|
15
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    19
    3) Author.......................................|HGRevAuthor|
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    20
    4) License......................................|HGRevLicense|
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    21
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    22
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    23
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    24
==============================================================================
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    25
1. INTRO                                                          *HGRevIntro*
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    26
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    27
HGRev is a small plugin that can find the current buffer's revision ID from a
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    28
Mercurial repository.  For more information on Mercurial, see:
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    29
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    30
	http://mercurial.selenic.com/
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    31
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    32
It is intended for use in the |statusline|- here's an example to enable it:
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    33
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    34
	set statusline=[r%{HGRev()}] ~
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    35
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    36
HGRev exports the 'HGRev()' function (for use in the statusline), and a
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    37
command called
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    38
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    39
	:RefreshMercurialRev
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    40
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    41
Which you can use to manually update the revision information for the current
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    42
buffer.  If you've added HGRev() to your statusline, you'll see the file
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    43
revision, branch, tags, and file status reflected -- if you used the
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    44
statusline example above, you should see something like this:
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    45
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    46
	[r192+ default tip M] ~
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    47
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    48
The information displayed can be easily customized, and HGRev can also
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    49
automatically update the status line on file changes.  (This behavior is
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    50
disabled by default.)
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    51
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    52
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    53
==============================================================================
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    54
2. CONFIGURATION-OPTIONS                                        *HGRevOptions*
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    55
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    56
Here are the available configuration options and their defaults:
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    57
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    58
	let g:hgrevFlags = '-nbt'
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    59
	let g:hgrevAddStatus = 1
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    60
	let g:hgrevAutoUpdate = 0
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    61
	let g:hgrevNoRepoChar = '-'
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    62
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    63
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    64
------------------------------------------------------------------------------
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    65
2.1                                                             *g:hgrevFlags*
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    66
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    67
These are the flags passed directly to 'hg id'.  The flags "-nbt" are passed
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    68
by default, which show a local rev id, branch, and tags.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    69
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    70
If you wanted to show the global rev hash (and nothing else) as an example,
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    71
you can set this to:
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    72
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    73
	let g:hgrevFlags = '-i'
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    74
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    75
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    76
------------------------------------------------------------------------------
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    77
2.2                                                         *g:hgrevAddStatus*
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    78
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    79
This settings will append the current file status to the output, by running
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    80
'hg stat'.  I find it useful, so it is enabled by default -- you can disable
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    81
it like so:
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    82
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    83
	let g:hgrevAddStatus = 0
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    84
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    85
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    86
------------------------------------------------------------------------------
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    87
2.3                                                        *g:hgrevAutoUpdate*
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    88
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    89
When this option is enabled, some |autocmd-events| are added that
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    90
automatically call :RefreshMercurialRev on file changes -- when a buffer is
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    91
read, written to, or modified outside of Vim.  This is disabled by default, as
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    92
the additional time needed (however small) to system() to hg for every
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    93
read/write outweighs running :RefreshMercurialRev manually for my tastes.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    94
Yours tastes, of course, may vary, so you can enable it like so:
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    95
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    96
	let g:hgrevAutoUpdate = 1
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    97
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    98
Alternatively, you can leave it disabled, and add your own |autocmd| events
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
    99
for :RefreshMercurialRev to what works best for you.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   100
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   101
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   102
------------------------------------------------------------------------------
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   103
2.4                                                        *g:hgrevNoRepoChar*
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   104
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   105
If the current buffer doesn't seem to be a member of a Mercurial repository,
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   106
HGRev() returns this character instead of a revision ID.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   107
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   108
Some examples:
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   109
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   110
	let g:hgrevNoRepoChar = '-'    (default)
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   111
	set statusline=[r%{HGRev()}]
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   112
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   113
This will output something like '[r12+ default tip M]' for repo files,
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   114
and '[r-]' for non-repo.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   115
>
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   116
	let g:hgrevNoRepoChar = ''
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   117
	set statusline=%{HGRev()?'[r'.HGRev().']':''}
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   118
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   119
This will output something like '[r512 default tip]' for repo files, and
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   120
nothing at all for non-repo.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   121
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   122
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   123
==============================================================================
26
e3edddb48a91 fixed typo in help bookmark for Author
miguel
parents: 16
diff changeset
   124
3. AUTHOR                                                        *HGRevAuthor*
15
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   125
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   126
HGRev was written by Mahlon E. Smith.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   127
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   128
    mahlon@martini.nu ~
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   129
    http://www.martini.nu/ 
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   130
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   131
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   132
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   133
==============================================================================
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   134
4. LICENSE                                                      *HGRevLicense*
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   135
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   136
HGRev is distributed under the BSD license.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   137
    http://www.opensource.org/licenses/bsd-license.php
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   138
>
27
595320486f69 Update copyright, small comment style fix.
Mahlon E. Smith <mahlon@laika.com>
parents: 26
diff changeset
   139
    Copyright (c) 2010-2012, Mahlon E. Smith <mahlon@martini.nu>
15
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   140
    All rights reserved.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   141
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   142
    Redistribution and use in source and binary forms, with or without
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   143
    modification, are permitted provided that the following conditions are
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   144
    met:
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   145
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   146
        * Redistributions of source code must retain the above copyright
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   147
          notice, this list of conditions and the following disclaimer.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   148
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   149
        * Redistributions in binary form must reproduce the above copyright
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   150
          notice, this list of conditions and the following disclaimer in the
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   151
          documentation and/or other materials provided with the distribution.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   152
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   153
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   154
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   155
    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   156
    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   157
    OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   158
    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   159
    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   160
    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   161
    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   162
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   163
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   164
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   165
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   166
285603587539 Initial commit of the HGRev Vim plugin.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff changeset
   167
vim: set noet nosta sw=4 ts=4 ft=help :