quilt

## quilt - Tool to work with series of patches

$ export QUILT_PATCHES=debian/patches

$ quilt push -a

$ quilt new your_patch.patch

$ quilt add the_file_you_want_to_modify

## vi / emacs the_file_you_want_to_modify

$ quilt refresh

$ quilt pop -a

http://bruce-wang.blogspot.com/search?q=quilt