Closed (works as designed)
Project:
CVS integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2009 at 14:42 UTC
Updated:
29 Sep 2009 at 20:15 UTC
$variable is not visible in commit message
http://drupal.org/cvs?commit=257292
http://drupal.org/cvs?commit=256552
I do not know if it is a limitation of cvs, or it is stripped at display.
Comments
Comment #1
pasqualleadded a comment to handbook page: http://drupal.org/node/52287
Comment #2
dww@pasqualle: Deleted that comment. CVS keywords are for the files you check in to CVS, not the commit messages themselves. If you look, the $variable didn't show up in cvs (http://cvs.drupal.org/viewvc.py/drupal/drupal/includes/file.inc?view=log...) nor the log display here in the d.o DB. That tells me that Dries probably did something silly like this from the shell:
His shell saw a " quoted string and tried to expand the $ variables. Since $variable had no value, that was replaced with an empty string.
The right thing to do (if you're going to use -m and pass the commit message as a command-line arg) is to use single quotes so that the shell doesn't try to interpret $ for variable substitution, like so:
This is UNIX 101 -- it has nothing to do with CVS nor d.o, nor the cvs.module.