I'm having problems with getting diffs from dvc-status. If I do this on
my repository, it all works...
hg status for *snip*/src/ht/knowledgeblog/devel/
M trunk/plugins/kcite/kcite-todo.org
M trunk/plugins/kcite/kcite.php
? trunk/plugins/kcite/gorun_settings.py
? trunk/plugins/kcite/gorun_settings.pyc
? trunk/plugins/test-plugin.php
But running dvc-dvc-diff on one of the modified files, gives me a no
such file or directory.
dvc-dvc-file-diff: Setting current directory: no such file or directory,
trunk/plugins/kcite/
Or this backtrace...
Debugger entered--Lisp error: (file-error "Setting current directory" "no such
file or directory" "trunk/plugins/kcite/")
call-process("diff" nil #<buffer *xhg-file-diff*<2>> nil "-u"
"-La/trunk/plugins/kcite/kcite.php" "-Lb/trunk/plugins/kcite/kcite.php"
"/tmp/DVC-file-diff-base2582N0c" "/tmp/DVC-file-diff-mod2582a-i")
dvc-dvc-file-diff("trunk/plugins/kcite/kcite.php" (xhg (last-revision
"/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/" 1)) (xhg (local-tree
"/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/")) t)
apply(dvc-dvc-file-diff ("trunk/plugins/kcite/kcite.php" (xhg (last-revision
"/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/" 1)) (xhg (local-tree
"/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/")) t))
apply(apply dvc-dvc-file-diff ("trunk/plugins/kcite/kcite.php" (xhg
(last-revision "/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/" 1)) (xhg
(local-tree "/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/")) t))
dvc-apply("dvc-file-diff" ("trunk/plugins/kcite/kcite.php" (xhg
(last-revision "/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/" 1)) (xhg
(local-tree "/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/")) t))
dvc-file-diff("trunk/plugins/kcite/kcite.php" (xhg (last-revision
"/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/" 1)) (xhg (local-tree
"/mnt/sdb1/home/phillord/src/ht/knowledgeblog/devel/")) t)
dvc-diff-diff()
call-interactively(dvc-diff-diff nil nil)
The same command works when run from with the file buffer. I think it's
a problem with the directory, but I am finding the dvc code base a
little hard to debug.
Not a show stopper, as I can get the same information in a different
way, but I was wondering if anyone else could replicate the problem?
Phil
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev