[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc.el and CSSC
From: |
Ulrich Mueller |
Subject: |
Re: vc.el and CSSC |
Date: |
Sat, 19 Apr 2008 23:26:10 +0200 |
>>>>> On Sat, 19 Apr 2008, Stefan Monnier wrote:
> Since this is a problem specific to SCCS (or CSSC), I think we
> should try and fix it in vc-sccs.el rather than vc-hooks.el.
> I.e. we should also remove the (if (file-directory-p "/usr/sccs")
> '("/usr/sccs")) from vc-hooks.
> Can you check if the patch below fixes your problem as well?
At least a quick test of checkout, checkin, and diff succeeds.
> - get -s -p -k $sid1 "$f" > $rev1 &&
> + sccs get -s -p -k $sid1 "$f" > $rev1 &&
> - get -s -p -k $sid2 "$f" > $rev2
> + sccs get -s -p -k $sid2 "$f" > $rev2
If you prefix the SCCS commands in vcdiff with "sccs", then you may
get rid of the path manipulation completely (tested here, too):
--- lib-src/vcdiff 19 Apr 2008 18:46:59 +0200 1.17
+++ lib-src/vcdiff 19 Apr 2008 23:04:07 +0200
@@ -27,8 +27,6 @@
DIFF="diff"
usage="$0: Usage: vcdiff [--brief] [-q] [-r<sid1>] [-r<sid2>] [diffopts]
sccsfile..."
-PATH=$PATH:/usr/ccs/bin:/usr/sccs:/usr/xpg4/bin # common SCCS hangouts
-
echo="echo"
sid1= sid2=
Ulrich