From: Paul Bristow <pbristow@bluearc.com>
To: 7302@debbugs.gnu.org
Subject: bug#7302: vcdiff using "sccs get" rather than "get" breaks bitkeeper usage.
Date: Fri, 29 Oct 2010 16:21:49 +0100 [thread overview]
Message-ID: <ABFC24E4C13D81489F7F624E14891C860992D6D837@uk-ex-mbx1.terastack.bluearc.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1734 bytes --]
GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-08-15 on barber, modified by Debian
I previously used Emacs 21.4 and its version of the vcdiff script is compatible with bk as it just calls "get" and bitkeeper supplies a get command. In 23.2.1 the command is "sccs get" but there is no sccs with bitkeeper.
Although I do not make much use of "M-x vc-diff" and could just use something different instead it does cause some problems as I have my "EDITOR" set to emacs in the environment and therefore when I fix merge conflicts in bitkeeper the file is passed to emacs. The call to emacs always fails like so:
/usr/lib/emacs/23.2/x86_64-linux-gnu/vcdiff: 113: sccs: not found
I have found that reverting to the old behaviour with the patch that I have included below solves the problem. Perhaps the change might be reverted or parameterised in future releases?
Regards,
Paul Bristow.
pbristow@rubin:/usr/lib/emacs/23.2/x86_64-linux-gnu$ diff -u vcdiff~ vcdiff
--- vcdiff~ 2010-08-15 06:59:41.000000000 +0100
+++ vcdiff 2010-10-29 16:00:08.000000000 +0100
@@ -87,7 +87,8 @@
s.* | */s.*)
if
rev1=`mktemp /tmp/geta.XXXXXXXX`
- sccs get -s -p -k $sid1 "$f" > $rev1 &&
+ #sccs get -s -p -k $sid1 "$f" > $rev1 &&
+ get -s -p -k $sid1 "$f" > $rev1 &&
case $sid2 in
'')
workfile=`expr " /$f" : '.*/s.\(.*\)'`
[-- Attachment #2: Type: text/html, Size: 8959 bytes --]
next reply other threads:[~2010-10-29 15:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-29 15:21 Paul Bristow [this message]
2010-10-29 16:51 ` bug#7302: vcdiff using "sccs get" rather than "get" breaks bitkeeper usage Glenn Morris
2010-10-29 17:09 ` Stefan Monnier
2010-11-01 8:44 ` bug#7302: cliff " Paul Bristow
2011-03-15 6:26 ` bug#7302: vcdiff " Glenn Morris
2011-03-15 13:19 ` Stefan Monnier
2012-06-06 0:33 ` Glenn Morris
2011-03-15 15:23 ` Oscar Bonilla
2016-02-26 6:29 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ABFC24E4C13D81489F7F624E14891C860992D6D837@uk-ex-mbx1.terastack.bluearc.com \
--to=pbristow@bluearc.com \
--cc=7302@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).