changeset 2675:d99a92b7acad

extdiff : add comment on how to use vim for doing directoy diff
author "Mathieu Clabaut <mathieu.clabaut@gmail.com>"
date Tue, 25 Jul 2006 23:10:11 +0200
parents 7a6708e73e21
children 7c81e337fed2
files hgext/extdiff.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/extdiff.py	Tue Jul 25 13:50:52 2006 -0700
+++ b/hgext/extdiff.py	Tue Jul 25 23:10:11 2006 +0200
@@ -22,6 +22,9 @@
 #   cmd.vdiff = kdiff3
 #   # add new command called meld, runs meld (no need to name twice)
 #   cmd.meld =
+#   # add new command called vimdiff, runs gvimdiff with DirDiff plugin
+#   #(see http://www.vim.org/scripts/script.php?script_id=102)
+#   cmd.vimdiff = LC_ALL=C gvim -f '+bdel 1 2' '+ execute "DirDiff ".argv(0)." ".argv(1)'
 #
 # you can use -I/-X and list of file or directory names like normal
 # "hg diff" command. extdiff makes snapshots of only needed files, so