<div dir="ltr"><div><div><div><div>Hi<br><br>I'm trying to change a commit message that became malformed when pushing to trunk<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">svn propedit svn:log --revprop -r 243434<br>svn: E175002: DAV request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent<br>svn: E175002: Repository has not been enabled to accept revision propchanges;<br>ask the administrator to create a pre-revprop-change hook<br></blockquote><br></div>As described here commit messages are not versioned on svn<br></div>Would it be possible to get a hook made for this<br><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__stackoverflow.com_questions_692851_can-2Di-2Dgo-2Dback-2Dand-2Dedit-2Dcomments-2Don-2Dan-2Dsvn-2Dcheckin&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=rA66OwhKyNgAo35v-7-yD5YmsmgWkfGpODyqFgA-Sug&s=H-gYErVjtF74kkPHv-DrcBVKhP0r9SkTIbUmUyHW0u0&e=">http://stackoverflow.com/questions/692851/can-i-go-back-and-edit-comments-on-an-svn-checkin</a><br><br></div>It could be very useful for 3 reason.<br><br>1.<br></div><div>Currently if someone makes a commit and does not have it is not automatically closed by phabracator by adding<br>Differential Revision: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D11511&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=rA66OwhKyNgAo35v-7-yD5YmsmgWkfGpODyqFgA-Sug&s=MO-ifc5cGb5v_ThESxcVSdiZCzBphnRq2W57Z6Wgd1M&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/DXXXXX</a><br></div><div>at the end of their commit<br></div><div>The committer then often has to go back and manually enter a message to tell someone that their patch has landed<br><br></div><div>With a hook for this it would be easy to update the message invoking phabracator to now close the revision as it has landed.<br><br></div><div>we could even quite easily create a script for this for any committer to use to speed up the process, example here is a script called landed<br><br></div><div>landed D11511 r243434</div><div><br>2.<br></div><div>If a patch is reverted at some point because it is broken.<br></div><div>It would be nice to be able to edit the commit message in rXXX to tell the reader that the commit was reverted in rYYY and reapplied with a fix in rZZZ<br><br>3.<br></div><div>If you have a pesky typo in your commit like I have :)<br><br></div><div>I'm sure the hook could be made so that only an author can edit their own commit message or an admin that can.<br><br></div><div>Kind Regards<br></div><div>Martell<br></div><div><br><br></div></div>