patchreview.vim : Plugin for single or multipatch code reviews and workspace change/diff reviews
script karma |
Rating 41/13,
Downloaded by 4504 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Manpreet Singh |
|
script type |
utility |
|
description |
The Patch Review plugin allows easy single or multipatch code or diff reviews.
It opens each affected (modified/added/deleted) file in the patch or in a version controlled workspace diff in a diff view in a separate tab.
VIM provides the :diffpatch command to do single file reviews but can not handle patch files containing multiple patches as is common with software development projects. This plugin provides that missing functionality.
It also does not pollute the workspace like :diffpatch does by writing files in the workspace.
It does automatic diff generation for various version control systems by running their respective diff commands.
(Keywords: codereview, codereviews, code review, patch, patchutils, diff, diffpatch, patchreview, patchreviews, patch review, vcs, scm, mercurial, bazaar, hg, bzr, cvs, monotone, mtn, git, perforce, fossil) |
|
install details |
QUICK INSTALL
Method 1
1. Unzip the files in your ~/.vim directory.
2. Open Vim and do::
:helptags ~/.vim/doc
Method 2
Use a vim plugin manager like NeoBundle
NeoBundle 'junkblocker/patchreview-vim'
QUICK USAGE
Reviewing current changes in your workspace::
:DiffReview
Reviewing staged git changes::
:DiffReview git staged --no-color -U5
Reviewing a patch::
:PatchReview some.patch
Reviewing a previously applied patch (AKA reverse patch review)::
:ReversePatchReview some.patch
See::
:h patchreview
for usage details.
The latest in-development version of the plugin lives at https://github.com/junkblocker/patchreview-vim which may be slightly newer and slightly unstable. |
|
script versions (upload new version)
Click on the package to download.
patchreview-2.0.0.zip |
2.0.0 |
2020-07-02 |
7.0 |
Manpreet Singh |
Massive speedup by ignoreing events
Still allow keeping events enabled during processing with the g:patchreview_ignore_events flag
Better strip level guessing
Miscellaneous accumulated fixes
|
patchreview-1.3.0.zip |
1.3.0 |
2017-04-30 |
7.2 |
Manpreet Singh |
Added g:patchreview_foldlevel setting
Added g:patchreview_disable_syntax control syntax highlighting
Prevent most autocmds from executing during plugin execution
Add dein.vim & consolidate install instructions
Linting, README and help fixes and improvements
Fix and enhance the notification example
Fix DiffReview count style invocation
Ignore shell error for bzr diff as it returns 1 on differences (lutostag) |
patchreview-1.2.1.zip |
1.2.1 |
2015-07-13 |
7.2 |
Manpreet Singh |
1) Added pathogen instructions (Daniel Lobato García)
2) Fixed subversion support (wilywampa, Michael Leuchtenburg)
|
patchreview-1.2.0.zip |
1.2.0 |
2014-07-04 |
7.2 |
Manpreet Singh |
1) Support # prefixed comment lines in patches. 2) Better FreeBSD detection. |
patchreview-1.1.1.zip |
1.1.1 |
2014-04-03 |
7.2 |
Manpreet Singh |
Better filepath and strip level calculations and some cleanup. |
patchreview-1.1.0.zip |
1.1.0 |
2013-11-16 |
7.2 |
Manpreet Singh |
Added ability to open diffs on the right side (g:patchreview_split_right) |
patchreview-1.0.9.zip |
1.0.9 |
2013-11-04 |
7.2 |
Manpreet Singh |
Fixed breakage caused by a last minute change. |
patchreview-1.0.8.zip |
1.0.8 |
2013-11-03 |
7.2 |
Manpreet Singh |
1.0.7 was half broken / Ensure folds are closed at diff creation / Make string truncation wide character aware for vim older than 7.3 / Minor code style change / Show parse result in case of inapplicable patch / Prevent empty blank line 1 in log buffer |
patchreview-1.0.7.zip |
1.0.7 |
2013-09-07 |
7.2 |
Manpreet Singh |
Added support for fossil |
patchreview-1.0.6.zip |
1.0.6 |
2013-02-12 |
7.2 |
Manpreet Singh |
Convert .rej files to unified format if possible for better readability. Disable via g:patchreview_unified_rejects flag. |
patchreview-1.0.5.zip |
1.0.5 |
2012-10-21 |
7.2 |
Manpreet Singh |
1) Fixed context format patch handling
2) minor *BSD detection improvement |
patchreview-1.0.4.zip |
1.0.4 |
2012-07-24 |
7.2 |
Manpreet Singh |
Fix breakage on vim 7.2. List 7.2 as the minimum vim version required. |
patchreview-1.0.3.zip |
1.0.3 |
2012-07-18 |
7.0 |
Manpreet Singh |
Perforce diff was skipping files added via branching |
patchreview-1.0.2.zip |
1.0.2 |
2012-07-12 |
7.0 |
Manpreet Singh |
Fix for default patch command on BSD (it's not GNU compatible but perfectly usable) |
patchreview-1.0.1.zip |
1.0.1 |
2012-04-06 |
7.0 |
Manpreet Singh |
Set foldmethod to diff for patched buffers. This removes the annoying need to open folds by hand in 1.0. |
patchreview-1.0.zip |
1.0 |
2012-03-17 |
7.0 |
Manpreet Singh |
- Added Perforce support
- Add support for arbitrary diff generation commands
- Added ability to plug in new version control systems by others
- Added ability to create diffs in a way which lets session save/restore work better
- Windows fixes by Sergey Khorev |
patchreview-0.3.2.zip |
0.3.2 |
2011-08-20 |
7.0 |
Manpreet Singh |
Some diff extraction fixes and general error handling improvement |
patchreview-0.3.1.zip |
0.3.1 |
2011-05-21 |
7.0 |
Manpreet Singh |
Open the status buffer only in the current tab |
patchreview-0.3.zip |
0.3 |
2010-09-05 |
7.0 |
Manpreet Singh |
1) Added Git support
2) Some error handling for files which may be open in VIM elsewhere |
patchreview.zip |
0.2.2 |
2010-02-25 |
7.0 |
Manpreet Singh |
1) Security fixes by removing custom tempfile creation
2) Removed need for DiffReviewCleanup/PatchReviewCleanup
3) Better command execution error detection and display
4) Improved diff view and folding by ignoring modelines
5) Improved tab labels display |
patchreview.zip |
0.2 |
2010-02-21 |
7.0 |
Manpreet Singh |
1) Added DiffReview command for reviewing local changes in the workspace
2) Removed the need for filterdiff by implemeting it in pure vim script
|
patchreview.zip |
0.1 |
2006-05-25 |
7.0 |
Manpreet Singh |
Initial upload |
ip used for rating: 3.226.122.122
|