Thanks for the tip Bojan,
This trace (below) is produced when dvc-status produces the file list:
hg status for /home/bruce/hg/fpcfixes/
! INSTALL
and I run dvc-fileinfo-remove-files on the file INSTALL which has been
deleted but not (yet) removed.
Note: I have snipped the byte-code in <snip> from the trace below (as
it's unprintable):
Debugger entered--Lisp error: (setting-constant nil)
add-to-list(nil [cl-struct-dvc-fileinfo-legacy (file "INSTALL" "!")])
dvc-fileinfo-remove-files()
call-interactively(dvc-fileinfo-remove-files nil nil)
recursive-edit()
byte-code("<snip>" [unread-command-char debugger-args x
debugger-buffer noninteractive debugger-batch-max-lines -1 debug
backtrace-debug 4 t backtrace-frame lambda 5 pop-to-buffer debugger-mode
debugger-setup-buffer count-lines 2 "...\n" message "%s" buffer-string
kill-emacs "" nil recursive-edit middlestart buffer-read-only
standard-output] 4)
debug(error (setting-constant nil))
add-to-list(nil [cl-struct-dvc-fileinfo-legacy (file
".emacs.d/session.1063e1dc2cfbce37e128323431859137100000226910027" "!")])
dvc-fileinfo-remove-files()
call-interactively(dvc-fileinfo-remove-files nil nil)
Cheers, Bruce.
On 10/05/10 19:17, Bojan Nikolic wrote:
> It should be useful if you turn on back-traces for errors:
>
> ,----[ C-h f toggle-debug-on-error RET ]
> | toggle-debug-on-error is an interactive compiled Lisp function in
> | `menu-bar.el'.
> |
> | It is bound to <menu-bar> <options> <debug-on-error>.
> |
> | (toggle-debug-on-error &optional interactively)
> |
> | Toggle whether to enter Lisp debugger when an error is signaled.
> | In an interactive call, record this option as a candidate for saving
> | by "Save Options" in Custom buffers.
> `----
>
> and post the back-trace here.
>
> Best,
> Bojan
>
>
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev