On Tue, Sep 22, 2009 at 2:09 PM, Dan McGee <dpmcgee@gmail.com> wrote:
Nice, what about my second point? Can we predefine a partial commit message that will need to be edited?
I seemed to get overruled on that one. I know a lot of my commit messages are going to be more worthless than before because I'm just doing a version bump; at least before you got the version info in the commit message.
From what I understood, other people opposed to a default commit message that you don't have to edit. Thomas is proposing to predefine a commit message that still need to be edited. This seems to be the ideal solution, but I don't know if it is possible.
I don't know svn, but reading the doc, this does not seem to be immediately possible. Either you use -m message or -f file and the external editor is not called, or you use them and the editor is called. I don't know if something like this would work : echo upgpkg: $pkgbase $pkgver-$pkgrel > /tmp/commit-log $EDITOR /tmp/commit-log svn commit -f /tmp/commit-log Please correct me if I am wrong or if I am missing something :)