From 01d72047195e6a0742b1f81490508c23cebd9b68 Mon Sep 17 00:00:00 2001 From: kbulgrien Date: Sun, 30 Dec 2007 05:26:27 +0000 Subject: [PATCH] Update with information about how to generate an svn2cl report between two dates (inclusive). git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@8065 282e977c-c81d-0410-88c4-b93c2d0d6712 --- README | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README b/README index 722b8a59b..df3dd1e1e 100644 --- a/README +++ b/README @@ -25,10 +25,29 @@ The following may be safer, but also may not entirely regenerate missing entries if manual edits have been made. Again, never check in updates without checking differences and merging any manual edits developers may have made. +1) Only generate portion of the ChangeLog since the last svn2cl run. + + Determine the date of the last svn2cl run by looking at the top of the + ChangeLog. For this example, presume 2007-12-20 is the last svn2cl + notation, and that today is 2007-12-30. + + $ cd /home/data/svn/crossfire/maps/trunk + $ ~/svn2cl-0.9/svn2cl.sh -o ChangeLog.New -r "{2007-12-20}:{2007-12-30}" + + Note that the day of the last svn2cl is used in case new entries were made + that day following the svn2cl run. + + Place the contents of ChangeLog.New at the top of the ChangeLog file, but + make sure to delete any redundant entries. If manual entries have been + made, merge any additional content with the appropriate svn2cl generated + entries. + +2) Regenerate the entire log, but generate a patch file. + $ cd /home/data/svn/crossfire/maps/trunk $ ~/svn2cl-0.9/svn2cl.sh --output=ChangeLog.New $ diff -u ChangeLog ChangeLog.New >ChangeLog.patch -Verify the ChangeLog.patch file and remove any patch hunks that would remove -information prior to patching up the ChangeLog file for commit. + Verify the ChangeLog.patch file and remove any patch hunks that would remove + information prior to patching up the ChangeLog file for commit.