Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#421287: commit-email.pl needs --from argument n+1 times for n projects

1 view
Skip to first unread message

Peter J. Holzer

unread,
Apr 27, 2007, 12:20:12 PM4/27/07
to
Package: subversion-tools
Version: 1.4.2dfsg1-2

When the -m option of commit-email.pl is used to match subtrees (called
"projects" in the doc) of a repository, the --from option must be given
once before the first -m option (for the implicit project ".") and once
after each -m option. Otherwise commit-email.pl complains that the
--from or -h is missing.

I think the case where the sender address is the same for each subtree
(we use subversion@$domain) is more common than to use a different
sender address for each subtree. So each new project should probably
just copy the "from_address" and "hostname" fields (and maybe others)
from the last project into $current_project, and let the user override
it only if needed.

hp

--
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | h...@wsr.ac.at | I don't, and I'm not.
__/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users

0 new messages