Stefan Reichör <[EMAIL PROTECTED]> writes: >> Here are the steps I took to trigger the error. >> >> - Set up a new bzr-managed project with "bzr init". >> - Added files manually with "bzr add". >> - In Emacs, hit C-x T c to get to a *bzr-log-edit* buffer. >> - Enter one sentence and hit C-c C-c to attempt to commit. >> - Received the following backtrace. > > Strange. I cannot reproduce your error. It works fine here.
(Now using [EMAIL PROTECTED]/dvc--dev--0--patch-180, bzr
version is 0.7)
I'm guessing that this is only triggered when you're using compiled
files. When using the source files directly, it actually executes the
bzr commit command, but apparently with the wrong arguments.
error in process sentinel: `DVC commit --verbose --file
/stuff/proj/classes/cs352/testcases/.tmp-bzr-log-edit.txt
/home/mwolson/proj/classes/cs352/testcases/.bzr' failed with code 3
Contents of *dvc-error* buffer:
bzr: ERROR: /home/mwolson/proj/classes/cs352/testcases/.bzr is not in the same
branch as /home/mwolson/proj/classes/cs352/testcases/.bzr
Backtrace (probably not helpful):
Debugger entered--Lisp error: (error "`DVC commit --verbose --file
/stuff/proj/classes/cs352/testcases/.tmp-bzr-log-edit.txt
/home/mwolson/proj/classes/cs352/testcases/.bzr' failed with code 3")
signal(error ("`DVC commit --verbose --file
/stuff/proj/classes/cs352/testcases/.tmp-bzr-log-edit.txt
/home/mwolson/proj/classes/cs352/testcases/.bzr' failed with code 3"))
error("`DVC %s' failed with code %d" "commit --verbose --file
/stuff/proj/classes/cs352/testcases/.tmp-bzr-log-edit.txt
/home/mwolson/proj/classes/cs352/testcases/.bzr" 3)
dvc-default-error-function(#<buffer *bzr-process*<6>> #<buffer
*bzr-errors*<6>> 3 ("commit" "--verbose" "--file"
"/stuff/proj/classes/cs352/testcases/.tmp-bzr-log-edit.txt"
"/home/mwolson/proj/classes/cs352/testcases/.bzr"))
funcall(dvc-default-error-function #<buffer *bzr-process*<6>> #<buffer
*bzr-errors*<6>> 3 ("commit" "--verbose" "--file"
"/stuff/proj/classes/cs352/testcases/.tmp-bzr-log-edit.txt"
"/home/mwolson/proj/classes/cs352/testcases/.bzr"))
(cond ((and ... ...) (funcall ... dvc-gensym-uniq-153 dvc-gensym-uniq-154
status dvc-gensym-uniq-155)) ((eq state ...) (funcall ... dvc-gensym-uniq-157
dvc-gensym-uniq-158 status dvc-gensym-uniq-159)) ((eq state ...) (funcall ...
dvc-gensym-uniq-161 dvc-gensym-uniq-162 status dvc-gensym-uniq-163)))
(unwind-protect (cond (... ...) (... ...) (... ...)))
(let ((state ...) (status ...)) (unwind-protect (cond ... ... ...)) (unless
dvc-gensym-uniq-164 (dvc-kill-process-buffer dvc-gensym-uniq-165)) (unless
dvc-gensym-uniq-166 (dvc-kill-process-buffer dvc-gensym-uniq-167)))
(let ((default-directory dvc-gensym-uniq-142)) (dvc-log-event
dvc-gensym-uniq-143 dvc-gensym-uniq-144 dvc-gensym-uniq-145 dvc-gensym-uniq-146
(dvc-strip-final-newline event)) (setq dvc-process-running (delq
dvc-gensym-uniq-147 dvc-process-running)) (when (file-exists-p
dvc-gensym-uniq-148) (with-current-buffer dvc-gensym-uniq-149 ...) (delete-file
dvc-gensym-uniq-151)) (let (... ...) (unwind-protect ...) (unless
dvc-gensym-uniq-164 ...) (unless dvc-gensym-uniq-166 ...)))
(lambda nil (let (...) (dvc-log-event dvc-gensym-uniq-143 dvc-gensym-uniq-144
dvc-gensym-uniq-145 dvc-gensym-uniq-146 ...) (setq dvc-process-running ...)
(when ... ... ...) (let ... ... ... ...)))()
funcall((lambda nil (let (...) (dvc-log-event dvc-gensym-uniq-143
dvc-gensym-uniq-144 dvc-gensym-uniq-145 dvc-gensym-uniq-146 ...) (setq
dvc-process-running ...) (when ... ... ...) (let ... ... ... ...))))
(let ((dvc-gensym-uniq-167 ...) (dvc-gensym-uniq-166 ...)
(dvc-gensym-uniq-165 ...) (dvc-gensym-uniq-164 ...) (dvc-gensym-uniq-163 ...)
(dvc-gensym-uniq-162 ...) (dvc-gensym-uniq-161 ...) (dvc-gensym-uniq-160 ...)
(dvc-gensym-uniq-159 ...) (dvc-gensym-uniq-158 ...) (dvc-gensym-uniq-157 ...)
(dvc-gensym-uniq-156 ...) (dvc-gensym-uniq-155 ...) (dvc-gensym-uniq-154 ...)
(dvc-gensym-uniq-153 ...) (dvc-gensym-uniq-152 ...) (dvc-gensym-uniq-151 ...)
(dvc-gensym-uniq-150 ...) (dvc-gensym-uniq-149 ...) (dvc-gensym-uniq-148 ...)
(dvc-gensym-uniq-147 ...) (dvc-gensym-uniq-146 ...) (dvc-gensym-uniq-145 ...)
(dvc-gensym-uniq-144 ...) (dvc-gensym-uniq-143 ...) (dvc-gensym-uniq-142 ...))
(funcall (lambda nil ...)))
(lambda (process event) (let (... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ...) (funcall
...)))(#<process bzr> "exited abnormally with code 3\n")
> Could you play with dvc-current-file-list a bit.
I'm not sure what is meant by that. But anyway, my guess is that
since the original problem went away when using uncompiled source
files, it's probably some strange macro or inline list edge case.
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, IRC, EMMS, anime, manga, Debian
/` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
|_] | \| |_| Jabber: mwolson_at_hcoop.net
pgps7MWUv2C0b.pgp
Description: PGP signature
_______________________________________________ Xtla-el-dev mailing list [email protected] https://mail.gna.org/listinfo/xtla-el-dev
