Discussion:
Get Branch name of a revision in cvs
kapila
2011-06-15 10:10:26 UTC
Permalink
Hello Experts,
I require the branch & tag(if any) name linked to a specific revision
like file ab/fgp.java is committed in branch named RB1-0 then how to get
that ??
--
View this message in context: http://old.nabble.com/Get-Branch-name-of-a-revision-in-cvs-tp31850086p31850086.html
Sent from the Gnu - Cvs - Info mailing list archive at Nabble.com.
Andrea Galbusera
2011-06-15 13:40:37 UTC
Permalink
Hi,

"cvs stat -v ab/fgp.java" is the friend I'd ask to.
kapila
2011-06-16 08:32:39 UTC
Permalink
Thanks .. Andrea.
Forgot to add - its for w/o checking out the code in workspace.
getting date from remote.
Post by Andrea Galbusera
Hi,
"cvs stat -v ab/fgp.java" is the friend I'd ask to.
Jim Hyslop
2011-06-16 11:54:35 UTC
Permalink
Post by kapila
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
Mike Glasspool
2011-06-16 14:59:57 UTC
Permalink
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: info-cvs-bounces+mglasspool=***@nongnu.org [info-cvs-bounces+mglasspool=***@nongnu.org] on behalf of Jim Hyslop [***@dreampossible.ca]
Sent: Thursday, June 16, 2011 7:54 AM
To: kapila
Cc: Info-***@nongnu.org
Subject: Re: Get Branch name of a revision in cvs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by kapila
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: ***@northstarutilities.com [Loading Image...] [Loading Image...]
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>
kapila
2011-06-20 06:00:46 UTC
Permalink
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?
Post by Mike Glasspool
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
________________________________________
Sent: Thursday, June 16, 2011 7:54 AM
To: kapila
Subject: Re: Get Branch name of a revision in cvs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by kapila
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
Nov. 14-15
Follow Harris on Twitter
<http://twitter.com/Harris_Computer>
<html>
<body>
[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.
Loading...