vim
sobre diff
gvim -d file1 file2
?
diffupdate
?
]c
?
[c
?
8]c
?
do
?
dp
?
:diffg
?
:12,20diffg
?
:buffers
?
:buffer 2
?
:diffg 3
?
:diffg batch.mine
?
:diffput
?
:12,20diffput
?
zo
?
zO
?
zc
?
zO
?
:vnew
?
CTRL-W v
?
:set foldmethod=manual
?
zf}
?
:diffthis
?
:diffsplit filename
?
:windo
?
vim
:
:1,5yank a :6,10yank b :tabedit | put a | vnew | put b :windo diffthis
svn
en su sección
Resolve Conflicts (Merging Others'
Changes)
vimdiff
patch
? ¿Cómo se crea un patch?
:diffpatch filename
? (Véase la sección Patches o Parches
en los apuntes de LHP)
:vert diffpatch filename
?
$ svn diff modulos.tex -r PREV:HEAD > patch $ vi :.!svn cat modulos.tex -r PREV :vert diffpatch patch
Casiano Rodríguez León