Discussion:
[CVS] Rename a file keeping tag
ko0nz
2009-02-25 15:24:20 UTC
Permalink
Hi,

Is it possible to rename a file toto.plf to tata.plf keeping the tags?
And how to do this?

Thank you in adavnce for your help.
chencc98
2009-02-26 14:41:23 UTC
Permalink
I don’t think CVS has such function. But you could list all tags, remove
the old file, add the new file, add the all tags to it.

-----邮件原件-----
发件人: info-cvs-bounces+chencc98=***@nongnu.org
[mailto:info-cvs-bounces+chencc98=***@nongnu.org] 代表
info-cvs-***@nongnu.org
发送时间: 2009年2月26日 1:00
收件人: info-***@nongnu.org
主题: info-cvs Digest, Vol 75, Issue 27

Send info-cvs mailing list submissions to
info-***@nongnu.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.nongnu.org/mailman/listinfo/info-cvs
or, via email, send a message with subject or body 'help' to
info-cvs-***@nongnu.org

You can reach the person managing the list at
info-cvs-***@nongnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of info-cvs digest..."


Today's Topics:

1. Re: Script Help (Korry Douglas)
2. s the cvs status always shows tags in ordered? (hezjing)
3. Re: s the cvs status always shows tags in ordered? (Larry Jones)
4. [CVS] Rename a file keeping tag (ko0nz)


----------------------------------------------------------------------

Message: 1
Date: Tue, 24 Feb 2009 12:28:56 -0500
From: Korry Douglas <***@enterprisedb.com>
Subject: Re: Script Help
To: Todd Denniston <***@ssa.crane.navy.mil>
Cc: Rez P <***@hotmail.com>, CVS <info-***@nongnu.org>
Message-ID: <F630D5C2-1D84-43FD-AAFF-***@enterprisedb.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
I'm curious as to how other build engineers keep a log, do you run
cvs stat or cvs log also?
Is there a cvs command to print only the path and revsion
number without resotry to scripting?
Also see the excellent utility cvs2cl (CVS to ChangeLog) at
http://www.red-bean.com/cvs2cl/


-- Korry







------------------------------

Message: 2
Date: Wed, 25 Feb 2009 17:34:58 +0800
From: hezjing <***@gmail.com>
Subject: s the cvs status always shows tags in ordered?
To: info-***@nongnu.org
Message-ID:
<***@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi
The output of cvs status -v . looks like the following:

Existing Tags:
E (revision: 1.1.1.1)
D (revision: 1.1.1.1)
C (branch: 1.1.1.1.6)
B (revision: 1.1.1.1)
A (revision: 1.1.1.1)

Is the order of the tags guaranteed? That is the latest created tag will be
displayed on top, and the oldest one displayed at the bottom?

I'm trying to automate a process where the user input a tag name, the
program will find the "previous" tag and do a cvs diff between the two tags.
For example, if the user enter tag E, then the program should cvs diff tag E
and D automatically.
--
Hez
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.gnu.org/pipermail/info-cvs/attachments/20090225/a2636dc3/attach
ment.html

------------------------------

Message: 3
Date: Wed, 25 Feb 2009 09:46:13 -0500
From: Larry Jones <***@siemens.com>
Subject: Re: s the cvs status always shows tags in ordered?
To: hezjing <***@gmail.com>
Cc: info-***@nongnu.org
Message-ID: <***@thor.ugs.com>
Content-Type: text/plain; charset="us-ascii"
[...]
Is the order of the tags guaranteed? That is the latest created tag will
be
displayed on top, and the oldest one displayed at the bottom?
No.
--
Larry Jones

My brain is trying to kill me. -- Calvin




------------------------------

Message: 4
Date: Wed, 25 Feb 2009 16:24:20 +0100
From: ko0nz <***@gmail.com>
Subject: [CVS] Rename a file keeping tag
To: info-***@nongnu.org
Message-ID:
<***@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hi,

Is it possible to rename a file toto.plf to tata.plf keeping the tags?
And how to do this?

Thank you in adavnce for your help.




------------------------------

_______________________________________________
info-cvs mailing list
info-***@nongnu.org
http://lists.nongnu.org/mailman/listinfo/info-cvs


End of info-cvs Digest, Vol 75, Issue 27
****************************************
Loading...