Hi Daniel!

> Hello,
>
> I'm tracking several SVN project using bzr-svn.
>
> It's really great but I have a little problem: I can't easily send a
> simple patch on the devel mailing list :-/
>
> For now I do:
>
> bzr log -r<old>..<new> > feature.changelog
> bzr send [EMAIL PROTECTED] --no-bundle -r<old>..<new> . ../upstream
>
> Then I insert the feature.changelog at the top of the opened emacs
> buffer, save and exit emacs and the mail is sent.
>
> I have two problem with this:
>
> 1. it's not in DVC :-)
> 2. the patch is inlined, most of team prefer attachement.
>
> Do you think that hacking dvc-send-commit-notification is possible ?
>
> The use case could be:
>
> - open the dvc-revlist buffer
> - put point on the wanted log entry
> - C-u A
>
> This give near the same result as dvc-send-commit-notification except
> the diff is attached.
>
> Regards. 

E (dvc-export-via-email) should is meant to do what you want.

I have implemented this function for bzr that it should do what you want.

Just add the following to your .emacs:
(add-to-list 'bzr-export-via-email-parameters '("~/path/to-project" ("[EMAIL 
PROTECTED]" "proj" ("--no-bundle" "." "../upstream"))))


Please test, if it works for you.
Comments and ideas for enhancements are welcome.


Stefan.

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to