r459 - trunk/vim/debian

Stefano Zacchiroli zack at costa.debian.org
Sun Jan 15 09:49:29 UTC 2006


Author: zack
Date: 2006-01-15 09:49:28 +0000 (Sun, 15 Jan 2006)
New Revision: 459

Added:
   trunk/vim/debian/README.quilt
Log:
tiny on howto on using quilt for us, pkg-vim people


Added: trunk/vim/debian/README.quilt
===================================================================
--- trunk/vim/debian/README.quilt	2006-01-15 09:30:23 UTC (rev 458)
+++ trunk/vim/debian/README.quilt	2006-01-15 09:49:28 UTC (rev 459)
@@ -0,0 +1,52 @@
+
+Usage samples pack on quilt for VIM maintainers
+
+How to add a new quilt patch
+----------------------------
+
+0) unpack the vim sources:    fakeroot debian/rules extract
+
+1) position yourself in the patch stack at the patch after which you
+   would like to add the new one:    quilt push <reference_patchname>
+
+   if you don't care about patch ordering just add it at the end of the
+   patch stack using "quilt push -a"
+
+    $ quilt push 151_sed.vim.diff
+    Applying patch 101_make.vim.diff
+    patching file vim/runtime/syntax/make.vim
+
+    Applying patch 102_filetype.vim.diff
+    patching file vim/runtime/filetype.vim
+    ...
+    <snip>
+    ...
+    Now at patch 151_sed.vim.diff
+    $
+
+2) create a new patch:	    quilt new <patchname>
+
+    $ quilt new 152_javascript.vim.diff
+    Patch 152_javascript.vim.diff is now on top
+    $
+
+3) add the files you would like to change to the new patch _before_
+   modifying them:	    quilt add <filename>
+
+    $ quilt add vim/runtime/syntax/javascript.vim
+    File vim/runtime/syntax/javascript.vim added to patch 152_javascript.vim.diff
+    $
+
+4) apply the needed changes to the added files
+
+5) generate the patch:	    quilt refresh
+
+    $ quilt refresh
+    Refreshed patch 152_javascript.vim.diff
+    $
+
+6) test, add the new patch to svn, commit, and be happy!
+
+--
+Stefano Zacchiroli <zack at debian.org>
+Sun, 15 Jan 2006 10:36:46 +0100




More information about the pkg-vim-maintainers mailing list