Re: cvs tag renaming after repo copy
- From: "Amol Dharmadhikari अमोल धर्माधीकारी" <amol@xxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Feb 2008 11:47:39 -0800
On Wed, Feb 27, 2008 at 11:21 AM, John Hein <jhein@xxxxxxxxxx> wrote:
Giorgos Keramidas wrote at 21:04 +0200 on Feb 27, 2008:
> On 2008-02-27 08:36, John Hein <jhein@xxxxxxxxxx> wrote:
> > Can someone point me at a script that does tag renaming
> > after a repo copy?
>
> You don't really need a `script' to do this.
>
> Tags in CVS are not versioned, so you can force-tag the repo-copied
> files and move the tag to its new place.
>
> For example if you have two files:
>
> foo.c,v
> bar.c,v
>
> and bar.c,v is a repo-copy of foo.c,v then you move the tag only for the
> bar.c file by checking it out, and running:
>
> cvs tag -f -r 1.2 bar.c
------------------------^^^ you're missing the tag name in this example, but...
> This should force/move the tag to point revision 1.2.
I don't want to move the tag... I want to invalidate old tags by
renaming them to something else (like foo-1-2-3 -> old_foo-1-2-3).
Note that just using cvs to rename a tag (by tagging with the new name
and then removing the former name) has issues when you try to do that
with branch tags.
Anyway, I'm pretty sure the FreeBSD cvs-meisters run something to
invalidate tags after doing a repo copy. That's the information I was
looking for.
I dont think you can rename tags using a single command. What you can
do instead is create a new tag at the same point as the old tag, and
then delete the old tag.
eg -
cvs rtag -r old-foo-1-2-3 new-foo-1-2-3 <module_name>
cvs rtag -d old-foo-1-2-3 <module_name>
Amol
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: cvs tag renaming after repo copy
- From: John Hein
- Re: cvs tag renaming after repo copy
- References:
- cvs tag renaming after repo copy
- From: John Hein
- Re: cvs tag renaming after repo copy
- From: Giorgos Keramidas
- Re: cvs tag renaming after repo copy
- From: John Hein
- cvs tag renaming after repo copy
- Prev by Date: Re: cvs tag renaming after repo copy
- Next by Date: Re: cvs tag renaming after repo copy
- Previous by thread: Re: cvs tag renaming after repo copy
- Next by thread: Re: cvs tag renaming after repo copy
- Index(es):
Relevant Pages
- Re: RFD: How To Recognize Bad Javascript Code
... Elements consist of tags ... Your example `script' elements are empty
where they should have ... | Using the pseudo-protocol javascript in the href is never
valid. ... Some web developers use this to work ... (comp.lang.javascript) - Re: Community problem
... >I belong to a small web community that is based around a horse racing game. ...
>On the site we have a disscussion forum for the members to post messages, ... The script
he uses is placed in the message ... Any unclosed tag in the same position would probably
do the same. ... (comp.lang.javascript) - Re: Retrieving special characters
... getting more confused about handling special characters. ... In HTML will be
concidered as a tag, ... does not concider them as control characters such as tag
delimiters. ... Script Archive is the most classic exploited script. ... (comp.lang.php) - Re: Help-Need confirmation page email address to be assigned to a javascript variable - Stuc
... I have tried that and just awaiting results from the tracking company...but ...
as you say the problem lies in the statement between the no script tags ... JavaScript
- and JavaScript is not available if a tag is ... (microsoft.public.frontpage.programming) - Re: Double-document.write(
...) insert
-like space?
... What is with all that voodoo scripting by breaking up tags that have no ...
Then why not just write the image tag anyway? ... It isn't the word script that
ends it, it is the character sequence </ that can end it - it is up to the browser. ... want
to use it based on a JavaScript value, I have to do this nested ... (comp.lang.javascript)