Mercurial > vim-lawrencium
diff doc/lawrencium.txt @ 91:e21a1819ab27
New command to export a patch and allow existing log command to take options.
* Hglogexport command takes patch name as input. If the env variable
HG_EXPORT_PATCH_DIR is set, then the patch will be created under it.
Otherwise, it will be created in the directory from which vim
was launched.
* HgLog command takes options that can be passed to hg log command.
E.g., the following command will list just 3 logs by user bob.
:Hglog -u bob -l 3
Testing:
* Patch gets created under the right directory when env variable is set
and not set.
* Hglog command honors -u and -l options. It also works when current
file name is given as input --> :Hglog % -u bob -l 3
author | Kannan Rajah <krajah@maprtech.com> |
---|---|
date | Sat, 05 Jul 2014 17:16:42 -0700 |
parents | e688b658ce5b |
children | d38be34b403b |
line wrap: on
line diff
--- a/doc/lawrencium.txt Wed Jun 04 15:36:33 2014 -0700 +++ b/doc/lawrencium.txt Sat Jul 05 17:16:42 2014 -0700 @@ -174,7 +174,8 @@ Opens the history (log) for the current repository in the |preview-window|. Some extra-commands, along with some default mappings, are available in this window. - See |lawrencium-log-window|. + See |lawrencium-log-window|. In addition, you can pass + the usual hg log arguments like -u username, -l limit, etc. *:Hglog_f* :Hglog {file} Same as |:Hglog|, but opens the log for the specified @@ -184,6 +185,13 @@ :Hglogthis Same as |:Hglog| but opens the history (log) for the currently edited file instead of the whole repository. + *:Hglogexport* +:Hglogexport Exports the commit under cursor to directory specified by + env variable HG_EXPORT_PATCH_DIR. If this variable is not + set, then it is exported to the current working directory + of vim. On Unix, if the user specified an absolute path, + then the env variable is ignored. + *:Hgannotate* :Hgannotate Splits the current window to show annotations in the left window. These annotation are retrieved with `hg