On Sat, Nov 15, 2008 at 1:21 AM, sc <[EMAIL PROTECTED]> wrote:
>
> I finally bit the bullet and applied Markus Heidelberg's relative number
> patch to my source -- I love it so much I added
>
> nmap <silent> <S-F9> :call NumberToggle()<CR>
> imap <silent> <S-F9> <C-O>:call NumberToggle()<CR>
>
> function! NumberToggle()
>    if &number
>        set relativenumber
>    else
>        if &relativenumber
>            set norelativenumber
>        else
>            set number
>        endif
>    endif
> endfunction
>
> to my .vimrc, and
>
> export CONF_ARGS='--with-modified-by="Markus Heidelberg (relative line 
> numbers)"'
>
> to my build environment.
>
> I would like to request this patch be included in mainstream source.
>
> In the meantime I would like to know if there's a slick way to check svn
> updates and runtime rsyncs against the list of 22 files the patch updates,
> and re-apply the pieces of the patch affected?
>
> I like this patch so much I am willing to examine every svn update and
> runtime rsync against the list of files, and re-apply the pieces of the patch
> that got overridden, but I can't help thinking there must be a better way.

Re-applying a patch is very easy with subversion. See the chapter
"Vendor branches" in subversion documentation. With the correct setup,
you need only run the command svn_load_dirs.pl, check the resulting
merge for conflicts (and solve them if any), and you are done. I am
using this tool to port vimgdb to successive Vim versions and each
time I am impressed by this tool.


Xavier

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui