info-cvs
[Top][All Lists]
Advanced

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

Re: Date of tag,branch


From: Eric Siegerman
Subject: Re: Date of tag,branch
Date: Thu, 28 Feb 2002 15:29:37 -0500
User-agent: Mutt/1.2.5i

On Thu, Feb 28, 2002 at 01:42:01PM +0100, Wolfgang Pröpper wrote:
> No, there is no chance to get the date of a tag. The best way is to write a
> script which can be called by the menu "Macros".  All users have to call this
> macro when they create a tag.

Or if you're using command-line CVS, wrap "cvs tag" in a shell
script and have people use that.

> This script writes a log file on your file
> server or cvs server with information about user, date, time an tag name.

Or put the file in the user's sandbox.  The script should:
  - Write the info about the tag to the log file
  - Commit the log file
  - Create the tag, *including* tagging the log file itself

Pro:
  - The log file is revision controlled
  - It's available to people who use CVS client/server, without
    giving them any other access to the server machine

Con:
  - The script has to be smart enough to cope with merge
    conflicts in the log file.  The challenge is to avoid writing
    duplicate log entries for the same tagging operation, which
    is what would happen if the script took the naive approach of
    just aborting in case of conflict.

> 
> "Jeeva Sarma" <address@hidden> schrieb im Newsbeitrag
> news:address@hidden
> > Hi
> > Is there a way in CVS to find out on what date a tag
> > or branch was made?What command can be used for this?
> >
> > Thanks,
> > Jeeva Sarma
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Sports - Coverage of the 2002 Olympic Games
> > http://sports.yahoo.com
> >
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
One ring to rule the mall.
        - Movie review headline, eye Magazine



reply via email to

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