first of all thanks for replies. Yes i wanna know the branch name remotely from a file & its respective revision. e.g.- file name =Obtus/WEB-INF/src/creator.java revision= 1.34.3 HEAD revision=1.35
Branch name = RelTRigger_1-0 latest branch revision=1.34.9 i wanna try something like $>cvs rlog -r 1.34.3 Obtus/WEB-INF/src/creator.java $>RelTRigger_1-0 **whose output shud be its branch name=RelTRigger_1-0 who to get this? Mike Glasspool wrote: > > Let me get this right - you have the filename, you have the revision, you > just need to know the branch(s) it's on? > > Mike > ________________________________________ > From: [email protected] > [[email protected]] on behalf > of Jim Hyslop [[email protected]] > Sent: Thursday, June 16, 2011 7:54 AM > To: kapila > Cc: [email protected] > Subject: Re: Get Branch name of a revision in cvs > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11-06-16 4:32 AM, kapila wrote: >> >> Thanks .. Andrea. >> Forgot to add - its for w/o checking out the code in workspace. >> getting date from remote. > > In that case, try 'cvs rlog -h filename' > > - -- > Jim Hyslop > Dreampossible: Better software. Simply. http://www.dreampossible.ca > Consulting * Mentoring * Training in > C/C++ * OOD * SW Development & Practices * Version Management > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk357vsACgkQLdDyDwyJw+NdkQCg9IlLFzGDPrMT/Ibm4E97uZKt > xb0AoLfu7+fU2zxzMwuDyCtJU1jLXD64 > =YQ1x > -----END PGP SIGNATURE----- > > ________________________________ > Save the Date: 2011 Customer Conference: Nov. 16-18; Disneyland > Resort<http://bit.ly/hWBcrC> in Anaheim, CA. Pre-Conference workshops: > Nov. 14-15 > > > Follow Harris on Twitter > <http://twitter.com/Harris_Computer> > > <html> > <body> > ________________________________ Mike Glasspool Software Engineer P: > 613-226-5511 x2156 F: E: [email protected] > [http://www.harriscomputer.com/images/signatures/NorthstarUtilities.jpg] > [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif] > 1 Antares Drive Suite 400 Ottawa, ON K2E 8C4 www.northstarutilities.com > This message is intended exclusively for the individual or entity to which > it is addressed. This communication may contain information that is > proprietary, privileged or confidential or > otherwise legally exempt from disclosure. If you are not the named > addressee, you are not authorized to read, print, retain, copy or > disseminate this message or any part of it. If you have received this > message in error, please notify the sender immediately > by e-mail and delete all copies of the message. > </body> > </html> > > > -- View this message in context: http://old.nabble.com/Get-Branch-name-of-a-revision-in-cvs-tp31850086p31882999.html Sent from the Gnu - Cvs - Info mailing list archive at Nabble.com.
