From: Tom Tromey <tromey@redhat.com>
To: emacs-devel@gnu.org
Subject: patch for vc-svn.el
Date: Sun, 04 May 2008 17:53:04 -0600 [thread overview]
Message-ID: <m3lk2pmxsv.fsf@fleche.redhat.com> (raw)
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.
next reply other threads:[~2008-05-04 23:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-04 23:53 Tom Tromey [this message]
2008-05-05 1:06 ` patch for vc-svn.el Dan Nicolaescu
2008-05-05 14:00 ` Dan Nicolaescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3lk2pmxsv.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.