[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: difference between tag and rtag?

From: Larry Jones
Subject: Re: difference between tag and rtag?
Date: Thu, 14 Nov 2002 11:18:29 -0500 (EST)

Jason Yeung writes:
> I'm a beginner of CVS and I was wondering what is the difference between tag
> and rtag? They both assign symbolic tags to a set of files.

tag must be used in a working directory.  It tags just the files that
are present in the working directory and, by default, applies the tag to
the revision of the file that is checked out.  rtag can be used
anywhere, it tags the files in the specified module or repository
directory, and by default applies the tag to the latest revision on the
trunk.  With rtag, if you don't specify a particular revision to tag,
you really don't know what revisions you're tagging, so it's not a good
thing to do.  In general, tag is used to tag things you're working on,
rtag is only used to create a branch off of an existing tagged revision
without having to check it out.

-Larry Jones

I'm getting disillusioned with these New Years. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]