[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editing author names in RCS files
From: |
Derek Robert Price |
Subject: |
Re: Editing author names in RCS files |
Date: |
Thu, 09 Dec 2004 01:11:15 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hrm. There are valid reasons why an admin might want to rewrite the
author field in an RCS archive. Of course, such a hypothetical admin
might also very well figure out how to do that easily with shell
access to the repository and `sed'.
There are also valid reasons for not wanting a user to be able to do
so, but the cvsadmin group would probably be sufficient protection
against that.
cvs admin -Xauthor:oldauthor=newauthor[:rev]
is somewhat redundant since inclusion of REV would respecify
OLDAUTHOR. Perhaps two formats could be accepted:
cvs admin -Xauthor:oldauthor=newauthor
cvs admin -Xauthor:rev:newauthor
or similar?
Regardless, I'm ambivalent.
Derek
Mark D. Baushke wrote:
> [E-mail forwarded to bug-cvs@gnu.org for discussion on
> a request that originated on the info-cvs@gnu.or list.]
>
> The CVS command does support some long-named options,
> but the 'cvs admin' sub-command does not.
>
> It might be possible to add an option like:
>
> cvs admin -Xauthor:oldauthor=newauthor[:rev]
>
> to deal with this particular situation.
>
> As to your suggestion that many other people will want
> it occasionally, I would have expected to see hacks or
> requests for it published for RCS or CVS previously if
> that were the case. However, the request from Sylvain
> was the first I had ever seen requesting such a change
> in the RCS ,v files.
>
> There is also a case to be made that being able to
> trivially alter the author field reduces the ability
> to understand who has really committed a given change
> to the source repository.
>
> I would like to hear discussion on the desirability
> of a patch to cvs before considering adoption of it.
>
> -- Mark
>
> ------- Forwarded Message
>
> From: Richard Stallman <rms@gnu.org>
> To: "Mark D. Baushke" <mdb@cvshome.org>
> CC: beuc@beuc.net
> In-reply-to: <76801.1102438738@juniper.net> (mdb@cvshome.org)
> Subject: Re: Editing author names in RCS files
> Reply-to: rms@gnu.org
> References: <20041206215246.GD2182@dink.localdomain>
> <21267.1102380476@juniper.net>
> <20041207062536.GB2556@dink.localdomain> <76801.1102438738@juniper.net>
> Message-Id: <E1CcA5y-0006Bx-3U@fencepost.gnu.org>
> Date: Wed, 08 Dec 2004 17:15:38 -0500
>
> I think it would be a good idea to add this feature to CVS. Surely
> many other people will want it occasionally. But I'd suggest giving
> it a long-named option instead of a short one, since it will not be
> used frequently.
>
> Does CVS support long-named options?
>
> ------- End of Forwarded Message
>
_______________________________________________
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs
- --
*8^)
Email: derek@ximbiot.com
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBt+yDLD1OTBfyMaQRAruuAJ0Xx91Jywv8FK/C9sew8cgIbihRdACeL9q1
adCzVnzv1b6sbqdSdhPC8Rk=
=F/yd
-----END PGP SIGNATURE-----