From: Ulrich Mueller <ulm@gentoo.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: vc.el and CSSC
Date: Sat, 19 Apr 2008 23:26:10 +0200 [thread overview]
Message-ID: <18442.25458.425066.154658@a1ihome1.kph.uni-mainz.de> (raw)
In-Reply-To: <jwvprsl62sz.fsf-monnier+emacs@gnu.org>
>>>>> 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
next prev parent reply other threads:[~2008-04-19 21:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-19 16:27 vc.el and CSSC Ulrich Mueller
2008-04-19 20:46 ` Stefan Monnier
2008-04-19 21:26 ` Ulrich Mueller [this message]
2008-04-19 21:50 ` Ulrich Mueller
2008-04-23 20:00 ` Stefan Monnier
2008-04-19 21:54 ` Stefan Monnier
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=18442.25458.425066.154658@a1ihome1.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).