"Dan Lipsitt" <[EMAIL PROTECTED]> writes:

> Here's another problem:
>
> When I open a file in a directory under tla control, I get this error:
>
> Debugger entered--Lisp error: (void-function tla-dvc-file-has-conflict-p)
>  
> tla-dvc-file-has-conflict-p("/home/dmm2/code/coup-devel/src/ed-rams/4.3.1/model/pass_ed_data.c")
>  apply(tla-dvc-file-has-conflict-p
> "/home/dmm2/code/coup-devel/src/ed-rams/4.3.1/model/pass_ed_data.c")
>  dvc-apply("dvc-file-has-conflict-p"
> "/home/dmm2/code/coup-devel/src/ed-rams/4.3.1/model/pass_ed_data.c")
>  dvc-find-file-hook()
>  run-hooks(find-file-hooks)
>  after-find-file(nil t)
>  find-file-noselect-1(#<buffer pass_ed_data.c>
> "/home/dmm2/code/coup-devel/src/ed-rams/4.3.1/model/pass_ed_data.c"
> nil nil "/home/dmm2/code/coup-devel/src/ed-rams/4.3.1/model/pass_ed_data.c"
> (96601386 2051))
>  
> find-file-noselect("/home/dmm2/code/coup-devel/src/ed-rams/4.3.1/model/pass_ed_data.c"
> nil nil nil)
>  
> find-file("/home/dmm2/code/coup-devel/src/ed-rams/4.3.1/model/pass_ed_data.c")
>  command-line-1(("-l"
> "/usr/local/share/emacs/site-lisp/dvc/dvc-load.el" "-f"
> "toggle-debug-on-error" "--find-file"
> "/home/dmm2/code/coup-devel/src/ed-rams/4.3.1/model/pass_ed_data.c"))
>  command-line()
>  normal-top-level()
>
> Is this an autoload problem? If I run find-file again, it works.

I think so, could you try the attached patch, reinstall dvc and see,
if it does work then.


Stefan.

=== modified file 'lisp/tla-dvc.el'
--- lisp/tla-dvc.el	2006-10-15 09:51:55 +0000
+++ lisp/tla-dvc.el	2006-11-08 20:21:30 +0000
@@ -119,6 +119,7 @@
   "See `tla-inventory-revert-file'"
   (mapcar 'tla-inventory-revert-file files))
 
+;;;###autoload
 (defalias 'tla-dvc-file-has-conflict-p 'tla-file-has-conflict-p)
 
 (defalias 'tla-dvc-resolved 'tla-resolved)

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

Reply via email to