WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
9964
Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
https://bugs.webkit.org/show_bug.cgi?id=9964
Summary
Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
David Kilzer (:ddkilzer)
Reported
2006-07-16 21:01:30 PDT
With the fixes in
Bug 9290
,
Bug 9693
and
Bug 9848
, there's really no need for prepare-ChangeLog to update ChangeLog files. It puts them out-of-sync with the rest of your svn tree, and it takes time to run svn update on them.
Attachments
Patch v1
(1.25 KB, patch)
2006-07-16 21:23 PDT
,
David Kilzer (:ddkilzer)
darin
: review-
Details
Formatted Diff
Diff
Patch v2
(2.19 KB, patch)
2006-07-17 20:15 PDT
,
David Kilzer (:ddkilzer)
timothy
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2006-07-16 21:23:03 PDT
Created
attachment 9516
[details]
Patch v1 This makes prepare-ChangeLog hellafast when specifying files and directories on the command line!
Timothy Hatcher
Comment 2
2006-07-16 23:13:53 PDT
How do we deal with conflicts that result from doing a prepare-ChangeLog then doing an svn up before committing?
Darin Adler
Comment 3
2006-07-17 07:52:04 PDT
(In reply to
comment #2
)
> How do we deal with conflicts that result from doing a prepare-ChangeLog then > doing an svn up before committing?
My question exactly!
David Kilzer (:ddkilzer)
Comment 4
2006-07-17 08:44:30 PDT
(In reply to
comment #3
)
> (In reply to
comment #2
) > > How do we deal with conflicts that result from doing a > > prepare-ChangeLog then doing an svn up before committing? > My question exactly!
I guess I must be missing some use cases that Apple engineers hit more frequently than open source committers. The only time I would run prepare-ChangeLog and then commit immediately would be to make a build fix or perhaps to back out a patch. Even then, it would be reasonably unlikely that someone has committed a patch between the time the build was broken and the time you commit a fix for the build. Every other (99% of the) time, I use prepare-ChangeLog before svn-create-patch, then post the patch for review to Bugzilla. Can you describe what scenarios would cause problems if this code was removed? (If not, ignore this question.) In place of removing the code, how about a command-line switch to turn the behavior on or off? I would like it to be off by default (with a -u or --update switch to update ChangeLogs), but I could live with it being on by default and adding the ability to specify --no-update to turn it off. Thoughts?
Timothy Hatcher
Comment 5
2006-07-17 19:36:51 PDT
Adding a no update flag would be ok, but doing the update needs to be on by default. A common sisuation for us is to have a patch ready that we have been working on throught the day and many other changes have landed. Sometimes these changes get reviewed in person before the ChnageLog is written. Right before we want to land we will run prepare-ChangeLog, edit the ChangeLog then commit. If the ChangeLog was not updated before we commit we will have to resolve the changelog manually.
Darin Adler
Comment 6
2006-07-17 19:38:58 PDT
Comment on
attachment 9516
[details]
Patch v1 Please let it be on by default. We can consider changing the default later.
David Kilzer (:ddkilzer)
Comment 7
2006-07-17 20:15:57 PDT
Created
attachment 9536
[details]
Patch v2 Adds --[no-]update switch to disable svn update of ChangeLogs if desired. Updating is enabled by default by popular demand. :)
David Kilzer (:ddkilzer)
Comment 8
2006-07-18 19:38:15 PDT
Committed revision 15516.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug