Keiron,
Here's how the RCS works.
$ rlog names
RCS file: names,v
Working file: names
head: 1.2
branch:
locks: strict
access list:
symbolic names:
Rel_1: 1.1.1.2
RC1: 1.2.1.3
Rel: 1.1.1
Dev: 1.2.1
Base: 1.1
keyword substitution: kv
total revisions: 7; selected revisions: 7
description:
$Name$ test
----------------------------
revision 1.2
date: 2002-04-10 08:10:16+10; author: pbw; state: Exp; lines: +3 -3
branches: 1.2.1;
*** empty log message ***
----------------------------
revision 1.1
date: 2002-04-10 08:08:33+10; author: pbw; state: Exp;
branches: 1.1.1;
Initial revision
----------------------------
revision 1.1.1.2
date: 2002-04-10 08:36:59+10; author: pbw; state: Exp; lines: +2 -2
Release 1
----------------------------
revision 1.1.1.1
date: 2002-04-10 08:28:33+10; author: pbw; state: Exp; lines: +3 -3
Release branch
----------------------------
revision 1.2.1.3
date: 2002-04-10 08:26:22+10; author: pbw; state: Exp; lines: +3 -3
Release candidate
----------------------------
revision 1.2.1.2
date: 2002-04-10 08:13:13+10; author: pbw; state: Exp; lines: +2 -2
Churning...
----------------------------
revision 1.2.1.1
date: 2002-04-10 08:11:44+10; author: pbw; state: Exp; lines: +3 -3
Development branch
=============================================================================
Note the names "Rel" and "Dev" refer to branches; 1.1.1 and 1.2.1
respectively.
So:
$ co -rRel names
names,v --> names
revision 1.1.1.2
done
$ cat names
$Id: names,v 1.1.1.2 2002-04-10 08:36:59+10 pbw Exp $
$Name: $
1.1.1.2
Note the empty Name keyword. co -rDev gives a similar result. But:
$ co -rRel_1 names
names,v --> names
revision 1.1.1.2
done
$ cat names
$Id: names,v 1.1.1.2 2002-04-10 08:36:59+10 pbw Exp $
$Name: Rel_1 $
1.1.1.2
fills in the blanks.
However:
$ co -r1.1.1.2 names
names,v --> names
revision 1.1.1.2
done
$ cat names
$Id: names,v 1.1.1.2 2002-04-10 08:36:59+10 pbw Exp $
$Name: $
1.1.1.2
I.e., unless the actual revision you check out has a symbolic name AND
you check it out using that name, the $Name$ keyword will be empty.
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]