Bug 9570 - Teach prepare-ChangeLog to operate on a list of files or directories
Summary: Teach prepare-ChangeLog to operate on a list of files or directories
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-24 20:48 PDT by David Kilzer (:ddkilzer)
Modified: 2006-06-24 22:56 PDT (History)
1 user (show)

See Also:


Attachments
Patch v1 (7.78 KB, patch)
2006-06-24 20:53 PDT, David Kilzer (:ddkilzer)
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2006-06-24 20:48:25 PDT
It would be nice to have prepare-ChangeLog work on a list of files or directories to limit its scope when creating ChangeLog entries.  I realize this is a double-edged sword since this means that some changes could be left out if someone runs prepare-ChangeLog incorrectly, but as all good command-line (UNIX) tools do, it would give you enough rope to hang yourself.  :)
Comment 1 David Kilzer (:ddkilzer) 2006-06-24 20:53:13 PDT
Created attachment 9012 [details]
Patch v1

Changes to prepare-ChangeLog:

- Copied canonicalizePath() and processPaths() subroutines from svn-create-patch and reformatted their curly braces.
- Added subroutine prototypes.
- Updated help message.
- Changed initial "svn diff" to use list of files and directories passed in (if any).

Changes to svn-create-patch:

- Removed unused $startDir variable.
- Tweaked help message.
- Extracted processPaths() subroutine to make it easier to copy to prepare-ChangeLog.
Comment 2 David Kilzer (:ddkilzer) 2006-06-24 22:56:30 PDT
Committed revision 15025.