Handle the <MYSELF> and <MAILTO> special tags.
commit6e71f6224c17b981f53c4f2bf79331f0a412240b
authorBenoit Sigoure <tsuna@lrde.epita.fr>
Tue, 6 Nov 2007 19:01:02 +0000 (6 20:01 +0100)
committerBenoit Sigoure <tsuna@lrde.epita.fr>
Tue, 6 Nov 2007 19:01:02 +0000 (6 20:01 +0100)
treea128d7602f3bf35e331da01e4141949c510fde3b
parent28cb0f9b938feaf21948ad3ef334929013327974
Handle the <MYSELF> and <MAILTO> special tags.

The tag <MYSELF> is only valid in the `From:' field and <MAILTO> in the
`To:' field.  These tags are meant to ease the use of the --use-log-file
option introduced recently.  You can generate a stub without even filling
the `From:' and `To:' fields and let svn-wrapper do it for you.

Feature requested by Akim Demaille (like the --use-log-file one).

* get_mailto_property: New.  Factored out of svn_commit.
* svn_commit: Don't screw up the log file if --use-log-file is used
several times without actually committing.
Handle the <MYSELF> and <MAILTO> tags.

Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
svn-wrapper.sh