unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7302: vcdiff using "sccs get" rather than "get" breaks bitkeeper usage.
@ 2010-10-29 15:21 Paul Bristow
  2010-10-29 16:51 ` Glenn Morris
  2010-10-29 17:09 ` Stefan Monnier
  0 siblings, 2 replies; 9+ messages in thread
From: Paul Bristow @ 2010-10-29 15:21 UTC (permalink / raw)
  To: 7302

[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-26  6:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-29 15:21 bug#7302: vcdiff using "sccs get" rather than "get" breaks bitkeeper usage Paul Bristow
2010-10-29 16:51 ` 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

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).