all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: "Ron Mitchell" <ron@ronmitchell.co.uk>
Cc: 5665@debbugs.gnu.org
Subject: bug#5665: 23.1; VC commands fail when the version control back end is SCCS
Date: Tue, 2 Mar 2010 11:07:20 -0800 (PST)	[thread overview]
Message-ID: <201003021907.o22J7KaL028527@godzilla.ics.uci.edu> (raw)
In-Reply-To: <1267470787.28800.1362528989@webmail.messagingengine.com> (Ron Mitchell's message of "Mon, 01 Mar 2010 19:13:07 +0000")

"Ron Mitchell" <ron@ronmitchell.co.uk> writes:

  > I can't send mail from the host system, so I used report-emacs-bug to
  > generate a mail which I've copied below.
  > 
  > From: "RON MITCHELL (UNIVERSE USER)" <rmitchel@tntcg004>
  > To: bug-gnu-emacs@gnu.org
  > Subject: 23.1; VC commands fail when the version control back end is
  > SCCS
  > --text follows this line--
  > 
  > I'm running emacs on HP-UX.  
  > 
  > Our SCCS repository is under location /common, as set in the environment
  > variable PROJECTDIR:
  > $ env | grep PROJECTDIR
  > PROJECTDIR=/common
  > $ 
  > 
  > I create a file called 'myfile' in the current directory.  It is not yet
  > registered to SCCS.
  > 
  > I visit the file.
  > 
  > Attempt to register the file with C-x v v
  > -----------------------------------------
  > 
  > It fails. There is an error message shown in the *vc* buffer:  
  > ERROR: missing file arg (cm3)
  > 
  > Backtrace:
  > 
  > Debugger entered--Lisp error: (error "Running sccs admin -r1.1 -fb
  > -imyfile -y ../../common/SCCS/s.myfile...FAILED (status 1)")
  >   signal(error ("Running sccs admin -r1.1 -fb -imyfile -y

[snip similar issues]

  > Preliminary Diagnosis
  > ---------------------
  > 
  > It seems to me that emacs is attempting to run the SCCS front-end
  > command, sccs(1), against the repository filename,
  > '/common/SCCS/s.myfile', instead of against the plain filename
  > 'myfile' as required.

VC with SCCS on a system that does not use the PROJECTDIR environment
variable seems to work fine.

PROJECTDIR is used in one place in vc-sccs.el: vc-sccs-search-project-dir.
That function does:
      (and dir (expand-file-name (concat "s." basename) dir)))

so it looks like your diagnosis is probably right.
The code in question has not changed in a very long time, so probably
PROJECDIR support never worked.
If you want to fix this vc-sccs-search-project-dir and maybe it's users
is what you'd have to change.






      parent reply	other threads:[~2010-03-02 19:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-01 19:13 bug#5665: 23.1; VC commands fail when the version control back end is SCCS Ron Mitchell
2010-03-02 16:31 ` Ulrich Mueller
2010-03-02 19:07 ` Dan Nicolaescu [this message]

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=201003021907.o22J7KaL028527@godzilla.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=5665@debbugs.gnu.org \
    --cc=ron@ronmitchell.co.uk \
    /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.