Daniel Dehennin | 1 Oct 15:51

Use case: sending a patch

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 --mail-to=deve <at> list.project.com --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.
(Continue reading)

Stefan Reichör | 1 Oct 21:10
Picon

[commit] rev 507: Finished the implementation of bzr-export-via-email

Committed revision 507 to http://bzr.xsteve.at/dvc/

Finished the implementation of bzr-export-via-email
Stefan Reichör | 1 Oct 21:19
Picon

Re: Use case: sending a patch

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 --mail-to=deve <at> list.project.com --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
>
(Continue reading)

Daniel Dehennin | 1 Oct 22:14

Re: Use case: sending a patch

Le 5509 Septembre 1993, Stefan Reichör a envoyé:
> 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" ("deve <at> list.project.com"
"proj" ("--no-bundle" "." "../upstream"))))
>
>
> Please test, if it works for you.
> Comments and ideas for enhancements are welcome.

Thanks, I'll test this.

Regards.
--

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

_______________________________________________
Dvc-dev mailing list
Dvc-dev <at> gna.org
https://mail.gna.org/listinfo/dvc-dev
Stefan Reichör | 2 Oct 21:22
Picon

[commit] rev 508: Introduced dvc-gnus-article-apply-patch-deciders and started to implement bzr-gnus-pull-bundle-in-branch

Committed revision 508 to http://bzr.xsteve.at/dvc/

Introduced dvc-gnus-article-apply-patch-deciders and started to implement bzr-gnus-pull-bundle-in-branch
Stefan Reichör | 2 Oct 21:23
Picon

[commit] rev 509: Patch from Thierry Volpiatto: "dvc-bookmarks.el: Fix error in `dvc-cur-date-string'"

Committed revision 509 to http://bzr.xsteve.at/dvc/

Patch from Thierry Volpiatto: "dvc-bookmarks.el: Fix error in `dvc-cur-date-string'"
Stefan Reichör | 2 Oct 21:45
Picon

[commit] rev 510: bzr-revision-id-to-string: '(bzr (tag "REV-STRING")) can be used to pass an arbitrary revision string like: '(bzr (tag "submit:"))

Committed revision 510 to http://bzr.xsteve.at/dvc/

bzr-revision-id-to-string: '(bzr (tag "REV-STRING")) can be used to pass an arbitrary revision string
like: '(bzr (tag "submit:"))
Stefan Reichör | 2 Oct 21:53
Picon

Re: bzr-gnus-apply-patch not implemented ?

Hi Vincent!

It took a bit longer to get the needed infrastructure in place.
Now I need your help to implement features you'd like to see.

>     stefan> * The next thing is support to apply such a bundle
>     stefan>   - either via merge
>
> In that case the needed command is:
> cd <branch>
> bzr merge <bundle>
>
>     stefan>   - or as a standalone branch in a specific location
>
> Either by:
>
>   bzr init <branch> ; cd <branch> ; bzr pull <bundle>
>
> to create the branch or, if it exists:
>
>   cd <branch> ; bzr pull --overwrite <bundle>

K t a needs to detect, how the patch in a given article should be
handled. dvc-gnus-article-apply-patch already knows some common mail
formats.

Today I have added the new configuration variable
dvc-gnus-article-apply-patch-deciders. It is a list of functions that
can analyze a mail message and return the detected patch type if any.

(Continue reading)

Oleksander Gavenko | 6 Oct 06:09
Picon
Gravatar

Command 'make' failed when build on non-source dir (Cannot find load file: dvc-site),

I get (by 2008-10-05 on Debian etch):
$ wget http://download.gna.org/dvc/download/dvc-snapshot.tar.gz
$ gzip -c -d dvc-snapshot.tar.gz | tar xf -
$ autoconf
$ mkdir ../build-dir
$ cd ../build-dir
$ ../dvc-snapshot/configure --prefix=$HOME/usr
$ make
...
lispdir=/home/sasha/usr/share/emacs/site-lisp/dvc 
srcdir=../../dvc-snapshot/lisp otherdirs="" builddir="." emacs -batch -q 
--no-site-file -no-init-file -l ../../dvc-snapshot/lisp/dvc-build.el -f 
package-maint-clean-some-elc
Cannot find load file: dvc-site

Placing (message "XXX") I found that dvc-build.el require 
dvc-unified.el, it require dvc-register.el, it require dvc-defs.el, it 
require dvc-site.el which not been found.

Placing (load-file (expand-file-name (concat builddir "/dvc-site.el"))) 
in dvc-build.el I solve build process.

I dont know what must be done.

Also such code
(add-to-list 'package-maint-files (expand-file-name builddir "dvc-site.el"))
wrong for me - from doc of func (GNU Emacs 21.4.1)
(expand-file-name NAME &optional DEFAULT-DIRECTORY)

Have fun!
(Continue reading)

Stefan Reichör | 6 Oct 08:49
Picon

Re: Command 'make' failed when build on non-source dir (Cannot find load file: dvc-site),

Hi Oleksander!

> I get (by 2008-10-05 on Debian etch):
> $ wget http://download.gna.org/dvc/download/dvc-snapshot.tar.gz
> $ gzip -c -d dvc-snapshot.tar.gz | tar xf -
> $ autoconf
> $ mkdir ../build-dir
> $ cd ../build-dir
> $ ../dvc-snapshot/configure --prefix=$HOME/usr
> $ make
> ...
> lispdir=/home/sasha/usr/share/emacs/site-lisp/dvc 
> srcdir=../../dvc-snapshot/lisp otherdirs="" builddir="." emacs -batch -q 
> --no-site-file -no-init-file -l ../../dvc-snapshot/lisp/dvc-build.el -f 
> package-maint-clean-some-elc
> Cannot find load file: dvc-site
>
> Placing (message "XXX") I found that dvc-build.el require 
> dvc-unified.el, it require dvc-register.el, it require dvc-defs.el, it 
> require dvc-site.el which not been found.
>
> Placing (load-file (expand-file-name (concat builddir "/dvc-site.el"))) 
> in dvc-build.el I solve build process.
>
> I dont know what must be done.

The tarball you downloaded is not up to date.

Please get the developer version from here:
bzr get http://bzr.xsteve.at/dvc
(Continue reading)


Gmane