[Top][All Lists]

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

how to get cvs hist to show branch (or tag) along with version.

From: b1f5dm
Subject: how to get cvs hist to show branch (or tag) along with version.
Date: Tue, 15 Jan 2008 14:06:47 -0800 (PST)
User-agent: G2/1.0

For my company I worte a pgm that uses the output of the "cvs history -
c -a -D yyyy-mm-dd" command to find out what files are in the branch
and have not been merged into the main trunk.

Each developer is responsible to merge their code into main.

My program uses the format of the version number to figure out if code
was part of a branch or part of the main trunk.  if it is in format
#.# its main trunk else it is from our branch.

This worked fine until this year when they now are deciding to extend
the branches back a month to allow for more testing.  We will now have
multiple branches active at the same time and I want to be able to
have my pgm know the diff between the feb release (b11-2) and the
april release (b11-4) by looking at the output of the cvs history

As it stands now it may still be helpful, it will show files people
saved in branch but didn't update main, but people will get naged to
merge stuff to main that they just started working on instead of the
stuff that is going into production and its value will go down the

reply via email to

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