On Tue, Aug 17, 2010 at 12:05 PM, Xavier de Gaye wrote:
> On Tue, Aug 17, 2010 at 11:03 AM, björn wrote:
>
> The changes are different:
>
> vim-hg-working$ hg extdiff -c fde086181841 -p diff -o -qr
> Files vim-hg-working.f0915ae869cf/src/ex_docmd.c and
> vim-hg-working.fde086181841/src/ex_docmd.c differ
> Files vim-hg-working.f0915ae869cf/src/version.c and
> vim-hg-working.fde086181841/src/version.c differ
>
> vim-hg-working$ hg extdiff -c f0915ae869cf -p diff -o -qr
> Files vim-hg-working.2a2ad267db08/src/misc1.c and
> vim-hg-working.f0915ae869cf/src/misc1.c differ
> Files vim-hg-working.2a2ad267db08/src/version.c and
> vim-hg-working.f0915ae869cf/src/version.c differ
>
One may also use extdiff and the brilliant DirDiff Vim plugin, to display the
changes between two revisions in a 3 windows Vim instance:
the bottom window lists the changed files and is used to select the
current file
the other two windows display the changes of the selected file
as a vimdiff
The command for seeing the changes in 7.3.002 with the above
extension is:
hg vimdiff -c tip
The documentation on this extension is at:
http://mercurial.selenic.com/wiki/ExtdiffExtension
Installation:
fetch the DirDiff plugin:
wget http://www.vim.org/scripts/download_script.php?src_id=5306 -O
~/.vim/plugin/DirDiff.vim
edit ~/.hgrc:
[extensions]
hgext.extdiff =
[extdiff]
cmd.vimdiff = gvim
opts.vimdiff = -f '+next' '+execute "DirDiff" argv(0) argv(1)'
Xavier
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php