Hi,
you should use dvc differently:

1) Start dvc-bookmarks (C-x V b) and add your project (a)
2) Add a main category (A t) and kill/yank your project there (C-k) (C-c y)
3) Now from there you can do everythings (log, diff, status...) (C-h m)



Wilfried Philips <[EMAIL PROTECTED]> writes:

> Hi,
>
> I installed dvc using bzr today (revno 470).
> After checking out a git repository (cloned from svn),
> I visited an xgit-revlog buffer in emacs.

Did you get this buffer with xgit-revlog-mode ?
If so use M-x dvc-changelog (it will call xgit-log)
>From dvc-bookmarks ==> (l)
>From anywhere C-x V l

> According to the documentation, pressing "enter" in that
> buffer should display a version of the file under the cursor.
> Rather, I get an error:
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>    ewoc-location(nil)
>    dvc-diff-in-ewoc-p()
>    dvc-diff-jump-to-change(nil)
>    call-interactively(dvc-diff-jump-to-change)
>
>
> This is with the ewoc.elc that comes with emacs. With the version 
> included in dvc, I get a more detailed error:
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>    aref(nil 3)
>    (progn (aref cl-x 3))
>    (block ewoc--node-start-marker (aref cl-x 3))
>    ewoc--node-start-marker(nil)
>    ewoc-location(nil)
>    dvc-diff-in-ewoc-p()
>    dvc-diff-jump-to-change(nil)
>    call-interactively(dvc-diff-jump-to-change)
>
>
> Kind regards.
> Keep up the good work.
>
> Emacs  : GNU Emacs 22.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.12.5)
>   of 2008-05-05 on xenbuilder2.fedora.redhat.com
> Package: Dvc 0
>
> current state:
> ==============
> (setq
>   emacs-version "22.1.1"
>   dvc-version "0"
>   dvc-command-version "git version 1.5.4.1"
>   baz-executable "baz"
>   tla-apply-patch-mapping nil
>   tla-arch-branch 'tla
>   tla-archive-list-mode-hook nil
>   tla-bookmarks-cleanup-dont-prompt nil
>   tla-bookmarks-file-name "bookmarks.el"
>   tla-bookmarks-mode-hook nil
>   tla-branch-list-mode-hook nil
>   tla-button-revision-fn 'tla-revlog-any
>   tla-category-list-mode-hook nil
>   tla-changes-recursive t
>   tla-commit-check-log-buffer-functions '(tla-commit-check-empty-headers
>                                        tla-commit-check-empty-line
>                                        tla-commit-check-missing-space)
>   tla-commit-done-hook nil
>   tla-commit-fix-missing-space t
>   tla-commit-headers-allowed-to-be-empty "^\\(Keywords\\)$"
>   tla-description-format '(patch-id "\n  " summary "\n  Located at: " 
> location
>                         "\n")
>   tla-dont-hyperlink-changelog nil
>   tla-executable "tla"
>   tla-follow-symlinks 'tree
>   tla-follow-symlinks-mode 'follow
>   tla-format-line-function nil
>   tla-generate-line-function nil
>   tla-install-command-help-system t
>   tla-inventory-display-backup t
>   tla-inventory-display-junk t
>   tla-inventory-display-precious t
>   tla-inventory-display-source t
>   tla-inventory-display-tree t
>   tla-inventory-display-unrecognized t
>   tla-inventory-file-mode-hook nil
>   tla-inventory-mode-hook nil
>   tla-log-edit-keywords '("bugfix" "docfix" "warnfix" "linting" "newfeature"
>                        "merge" "update" "rename" "delete" "newfile")
>   tla-log-edit-mode-hook nil
>   tla-log-library "~/.arch-log-library/"
>   tla-log-library-greedy t
>   tla-logs-mode-hook nil
>   tla-mail-notification-destination nil
>   tla-make-archive-hook nil
>   tla-make-branch-hook nil
>   tla-make-category-hook nil
>   tla-make-version-hook nil
>   tla-name-read-error-hook nil
>   tla-name-read-final-hook nil
>   tla-name-read-init-hook nil
>   tla-non-recursive-inventory t
>   tla-patch-sent-action 'keep-tarball
>   tla-revision-list-mode-hook nil
>   tla-revisions-shows-library t
>   tla-revisions-shows-merged-by t
>   tla-revisions-shows-merges nil
>   tla-revlog-mode-hook nil
>   tla-send-comments-format "Your patch %c--%b--%v--%r (%t)"
>   tla-send-comments-width 25
>   tla-show-ancestor nil
>   tla-strict-commits nil
>   tla-submit-patch-mapping '(((nil "xtla" nil nil nil)
>                            ("[EMAIL PROTECTED]" "xtla"))
>                           )
>   tla-switch-to-changes-buffer nil
>   tla-tag-does-cacherev 'ask
>   tla-tag-function 'tla-tag-uuid
>   tla-three-way-merge t
>   tla-update-recursive t
>   tla-update-strategy 'merge
>   tla-use-arrow-keys-for-navigation nil
>   tla-use-skip-present-option nil
>   tla-version-list-mode-hook nil
>   tla-version-to-name-function nil
>   xgit-executable "git"
>   xgit-git-dir-mapping nil
>   xgit-log-max-count 400
>   xgit-log-since nil
>   xgit-show-filter-filename-func nil
>   xgit-use-index 'ask
>   features '(sendmail reporter dvc-bug dvc-version dvc-revlog xgit-dvc xgit
>           cus-edit xgit-annotate rect dvc-annotate xgit-log dvc-revlist
>           dvc-diff uniquify advice help-fns help-mode view button
>           advice-preload dvc-fileinfo bzr-core tla-core tla-autoconf
>           tla-defs dvc-log ffap ediff xdarcs-core xgit-core xhg-core
>           xmtn-minimal dvc-unified dvc-tips dvc-autoloads dvc-core dvc-lisp
>           dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc dvc-defs
>           dvc-site vc-git cc-mode cc-fonts cc-menus cc-cmds cc-styles
>           cc-align cc-engine cc-vars cc-defs jka-compr paren cus-start
>           cus-load server psvn-svk time-date psvn-svn psvn derived edmacro
>           kmacro wid-edit cl cl-19 log-edit pcvs-util add-log diff-mode
>           easy-mmode pp elp ediff-util ediff-merg ediff-diff ediff-wind
>           ediff-mult ediff-help ediff-init dired regexp-opt vc xcscope ring
>           easymenu tex-site tooltip ediff-hook vc-hooks lisp-float-type
>           x-dnd tool-bar mwheel dnd fontset image fringe abbrev lisp-mode
>           register page menu-bar rfn-eshadow timer select scroll-bar mldrag
>           mouse jit-lock font-lock syntax facemenu font-core frame
>           ucs-tables georgian utf-8-lang misc-lang vietnamese tibetan thai
>           lao korean japanese hebrew greek romanian slovak czech european
>           ethiopic kannada tamil malayalam devanagari indian cyrillic
>           chinese case-table jka-cmpr-hook help simple faces cus-face
>           text-properties overlay md5 base64 format mule env custom widget
>           backquote make-network-process gtk x-toolkit x emacs)
>   )

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France


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

Reply via email to