Questions tagged [keyword-substitution]
9 questions
133
votes
19 answers
Moving from CVS to Git: $Id$ equivalent?
I read through a bunch of questions asking about simple source code control tools and Git seemed like a reasonable choice. I have it up and running, and it works well so far. One aspect that I like about CVS is the automatic incrementation of a…

Joe Casadonte
- 15,888
- 11
- 45
- 57
3
votes
3 answers
How do I disable CVS Sticky Option -kk for keyword substitution?
I have a file in cvs that has Sticky Options set to -kk. This replaces all cvs keywords with just the keyword name to facilitate diffs. For example, $Author: Alex B$ becomes $Author$.
How do I disable the -kk behavior and get back to "normal"…

Alex B
- 24,678
- 14
- 64
- 87
2
votes
2 answers
How can I get an updated $Revision$ in my code
I have a project into which I'd like to embed the revision number automagically.
In this case, it's a multi-file perl script. In the main file, I have a line that looks like this:
my $revision = '$Revision: 24 $';
When I make a release, I checkout…

mmccoo
- 8,386
- 5
- 41
- 60
1
vote
2 answers
Removing Keyword Substitution comments from source files?
Note: For wont of a better word I call the fluff at the start of source files --
/* @(#) $Id: file.c,v 1.9 2011/01/05 11:55:00 user Exp $
**************************************************************************
* COPYRIGHT, 2005-2011 …

Martin Ba
- 37,187
- 33
- 183
- 337
1
vote
1 answer
Can you set the revision number for each file in a repository displayed inside the file?
I want the functionality of this (SVN Tortoise keyword substitution)
$Rev $
in each and every file of the repository without manually adding the keyword in them.
Is there a way to get the revision number appear in each file without doing all that?

SHPstr
- 91
- 9
1
vote
2 answers
TortoiseSVN unable to setup keywords correctly
I'm still learning TortoiseSVN 1.6 and so far I'm not able to setup keywords so they are updated in a file once a commit command is ran.
I have both right clicked on files/directories > Properties > New. I select svn:keywords from the drop down…

user3783793
- 135
- 1
- 6
0
votes
1 answer
Eclipse: How to substitute strings in files copied to output folder
Eclipse copies files which are not Java sources to output folder as-is. I need to pre-process (substitute variables) these files before they are copied. The substitution table shall be project-based.
Ideally, maven2 properties shall be used as the…

Vladimir
- 447
- 5
- 16
0
votes
1 answer
Where is my server substituting for a ### string?
I'm trying to move a PHP based website to a new ISP for a friend as the original developers have lost all of their PHP capability (and I'm really an Oracle programmer).
I've got a Dev environment set up on my home system using LAMP which is almost…

lcd
- 21
- 2
0
votes
1 answer
Android studio, import project into CVS repository
I have fully functional project in Android studio. I want to import this project to CVS repositories and then check it out on another PC.
While importing to CVS there is only one option to choose: KEYWORD SUBSTITUTION, but i could't find good…

Jakub Smolar
- 81
- 10