Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to email@example.com.
On Mon, 4 Oct 2004 18:28:45 -0700, "Stuart Stevens" <stuart_stevens at sierralogic.com> wrote: >Within a loginfo script or program, is there an easy method of determining >the branch tag used for the commit? > > > >I assume that the script could read the file and extract the branch tag from >the checked in file. > > > >I am currently using CVSNT 2.0.41 running on Linux. > Yes, the information sent on STDIN contains a list of files and branch tags. Each file can be associated to a branch tag this way, but beware that the same commit can have many files listed and they can all be on different branches. But this is possible to grab from the STDIN file listing. No need to parse any other info than the one supplied to the script itself. /Bo (Bo Berglund, developer in Sweden)