Please change the Subject header to a concise description of your patch.
Please describe your patch between the LOG-START and LOG-END markers:
<<LOG-START>>

* lisp/bzr-submit.el (bzr-prepare-patch-submission): Place diff files in
  a separate directory with a name that causes bzr to ignore them.

<<LOG-END>>


[VERSION] dvc-dev-bzr

bzr (bazaar-ng) 0.8.2

Emacs  : GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.8.17)
 of 2006-06-07 on tuxtanker

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Project involvement: Emacs, Muse, Planner, ERC, EMMS

Attachment: pgpuN0kmJZQaj.pgp
Description: PGP signature

=== modified file 'lisp/bzr-submit.el'
--- lisp/bzr-submit.el	
+++ lisp/bzr-submit.el	
@@ -191,8 +191,12 @@
 
   ;; create the patch
   (let* ((default-directory bzr-tree-root)
-         (patch-full-base-name (concat bzr-tree-root patch-base-name))
+         (patch-directory (expand-file-name ".tmp-dvc/" bzr-tree-root))
+         (patch-full-base-name (expand-file-name patch-base-name
+                                                 patch-directory))
          (patch-full-name (concat patch-full-base-name ".diff")))
+    (unless (file-exists-p patch-directory)
+      (make-directory patch-directory))
     (bzr-changes-save-as-patch patch-full-base-name nil prompt-files)
 
     (require 'reporter)

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

Reply via email to