* patch for vc-svn.el
@ 2008-05-04 23:53 Tom Tromey
2008-05-05 1:06 ` Dan Nicolaescu
2008-05-05 14:00 ` Dan Nicolaescu
0 siblings, 2 replies; 3+ messages in thread
From: Tom Tromey @ 2008-05-04 23:53 UTC (permalink / raw)
To: emacs-devel
I tried vc-dir on an svn-controlled directory and got:
file-name-absolute-p(nil)
cd(nil)
vc-svn-registered("ChangeLog")
apply(vc-svn-registered "ChangeLog")
vc-call-backend(SVN registered "ChangeLog")
#[(b) "\302^H\303 #\205^T^@\304 \305^H#\205^T^@\306\307\310\"\207" [b f\
ile vc-call-backend registered vc-file-setprop vc-backend throw found t] 4](SVN\
)
mapc(#[(b) "\302^H\303 #\205^T^@\304 \305^H#\205^T^@\306\307\310\"\2\
07" [b file vc-call-backend registered vc-file-setprop vc-backend throw found t\
] 4] (RCS CVS SVN SCCS Bzr Git Hg Mtn Arch MCVS))
byte-code("\303^H\304\"^Y\305\306 \203^Q^@ \307=\203^U^@
\202^X^@
B\"\210)\310^H\304\307#\210\311\207" [file backend vc-handled-backends vc-file-\
getprop vc-backend mapc #[(b) "\302^H\303 #\205^T^@\304 \305^H#\205^T^\
@\306\307\310\"\207" [b file vc-call-backend registered vc-file-setprop vc-back\
end throw found t] 4] none vc-file-setprop nil] 4)
vc-registered("ChangeLog")
vc-backend("ChangeLog")
vc-responsible-backend("ChangeLog")
[...]
This patch fixed it for me.
Tom
2008-05-04 Tom Tromey <tromey@redhat.com>
* vc-svn.el (vc-svn-registered): Don't pass nil to cd.
Index: vc-svn.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-svn.el,v
retrieving revision 1.83
diff -u -c -r1.83 vc-svn.el
cvs diff: conflicting specifications of output style
*** vc-svn.el 2 May 2008 17:47:25 -0000 1.83
--- vc-svn.el 4 May 2008 23:51:28 -0000
***************
*** 121,127 ****
"/entries")
(file-name-directory file)))
(with-temp-buffer
! (cd (file-name-directory file))
(let ((status
(condition-case nil
;; Ignore all errors.
--- 121,127 ----
"/entries")
(file-name-directory file)))
(with-temp-buffer
! (cd (or (file-name-directory file) default-directory))
(let ((status
(condition-case nil
;; Ignore all errors.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: patch for vc-svn.el
2008-05-04 23:53 patch for vc-svn.el Tom Tromey
@ 2008-05-05 1:06 ` Dan Nicolaescu
2008-05-05 14:00 ` Dan Nicolaescu
1 sibling, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2008-05-05 1:06 UTC (permalink / raw)
To: tromey; +Cc: emacs-devel
Tom Tromey <tromey@redhat.com> writes:
> I tried vc-dir on an svn-controlled directory and got:
>
> file-name-absolute-p(nil)
> cd(nil)
> vc-svn-registered("ChangeLog")
This is not right, this function should only be called with an absolute
file name.
> apply(vc-svn-registered "ChangeLog")
> vc-call-backend(SVN registered "ChangeLog")
> #[(b) "\302^H\303 #\205^T^@\304 \305^H#\205^T^@\306\307\310\"\207" [b f\
> ile vc-call-backend registered vc-file-setprop vc-backend throw found t] 4](SVN\
> )
> mapc(#[(b) "\302^H\303 #\205^T^@\304 \305^H#\205^T^@\306\307\310\"\2\
> 07" [b file vc-call-backend registered vc-file-setprop vc-backend throw found t\
> ] 4] (RCS CVS SVN SCCS Bzr Git Hg Mtn Arch MCVS))
> byte-code("\303^H\304\"^Y\305\306 \203^Q^@ \307=\203^U^@
> \202^X^@
> B\"\210)\310^H\304\307#\210\311\207" [file backend vc-handled-backends vc-file-\
> getprop vc-backend mapc #[(b) "\302^H\303 #\205^T^@\304 \305^H#\205^T^\
> @\306\307\310\"\207" [b file vc-call-backend registered vc-file-setprop vc-back\
> end throw found t] 4] none vc-file-setprop nil] 4)
> vc-registered("ChangeLog")
> vc-backend("ChangeLog")
> vc-responsible-backend("ChangeLog")
> [...]
Can you show here? This should show the culprit.
I only have a few days old checkout, where all these things work just
fine, so something went wrong with the latest experiments with vc*el ...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: patch for vc-svn.el
2008-05-04 23:53 patch for vc-svn.el Tom Tromey
2008-05-05 1:06 ` Dan Nicolaescu
@ 2008-05-05 14:00 ` Dan Nicolaescu
1 sibling, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2008-05-05 14:00 UTC (permalink / raw)
To: tromey; +Cc: emacs-devel
Tom Tromey <tromey@redhat.com> writes:
> I tried vc-dir on an svn-controlled directory and got:
>
> file-name-absolute-p(nil)
> cd(nil)
> vc-svn-registered("ChangeLog")
> apply(vc-svn-registered "ChangeLog")
This is due to ESR's changes, stay with a version before May 1st until
he gets a chance to fix things up.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-05 14:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-04 23:53 patch for vc-svn.el Tom Tromey
2008-05-05 1:06 ` Dan Nicolaescu
2008-05-05 14:00 ` Dan Nicolaescu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.