all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andre Spiegel <spiegel@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: RCS keyword removal
Date: Sun, 11 Apr 2004 19:16:52 +0200	[thread overview]
Message-ID: <1081703812.770.131.camel@localhost> (raw)
In-Reply-To: <20040411155130.GA30439@fencepost>

Miles wrote:

> Ideally I could globally use the CVS -kb option on checkout/update to prevent
> all keyword expansion, but the CVS docs are very unclear on the actual effect
> of that, e.g what would the actual value of existing embedded keywords (in
> existing code, or new code committed by people who _didn't_ globally force
> -kb, i.e., most people)?

Keywords are only expanded in the checked-out versions of files.  The
expanded form is never stored in the RCS master files.  So, if somebody
switches off keyword expansion locally for himself (in a single command,
or permanently for an entire working directory), that doesn't affect
anybody else using the repository.

Switching off keyword expansion by default in the repository, as Andreas
suggested, would defeat the purpose of those keywords altogether,
though.  The point is that in released versions of the files, the
keywords ought to be expanded, otherwise they are useless, and I could
just do as RMS suggested and stamp the files myself when I send them
out.  I doesn't really address the problem keywords are needed for, but
I explained that already.

When merges are done within CVS, keywords shouldn't be causing any
trouble, because files are merged with keywords unexpanded, or at least
there's an option to say it should be that way.  However, when you use
the files from CVS in another version control system (Arch, in your
case), the issue becomes fuzzy.  A general approach might be to switch
off keyword expansion for anything that is checked in to Arch. 
Alternatively, a feature to tell Arch to ignore certain kinds of
differences could be implemented.

  parent reply	other threads:[~2004-04-11 17:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-10  6:00 RCS keyword removal Miles Bader
2004-04-11 15:18 ` Andre Spiegel
2004-04-11 15:51   ` Miles Bader
2004-04-11 16:06     ` Andreas Schwab
2004-04-11 17:16     ` Andre Spiegel [this message]
2004-04-12  1:48       ` Miles Bader
2004-04-12  9:14         ` Andre Spiegel
2004-04-12  9:27           ` Miles Bader
2004-04-13  9:10           ` Miles Bader
2004-04-13  9:29             ` Andre Spiegel
2004-04-13 10:00               ` Miles Bader
2004-04-12 21:28         ` Kim F. Storm
2004-04-13  1:18           ` Miles Bader

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=1081703812.770.131.camel@localhost \
    --to=spiegel@gnu.org \
    --cc=emacs-devel@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 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.