Closed (won't fix)
Project:
CVS integration
Version:
5.x-1.0
Component:
X-CVS scripts
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2007 at 15:06 UTC
Updated:
18 Dec 2008 at 16:40 UTC
When doing a commandline cvs commit on a drupal 5 contributed module
> cvs commit
cvs commit: Examining .
-- cut --
/cvs/drupal-contrib/contributions/modules/image_composition/Attic/image_composition.module,v <-- image_composition.module
new revision: 1.1.2.7; previous revision: 1.1.2.6
cvs commit: Using deprecated info format strings. Convert your scripts to use the new argument format and remove '1's from your info file format strings.
-- cut --
This happens all the time when committing.
Comments
Comment #1
clemens.tolboom(From http://www.asturlinux.org/cgi-bin/bugzilla/show_bug.cgi?id=334)
cvs commit: warning: Set to use deprecated info format strings. Establish compatibility with the new info file format strings (add a temporary '1' in all info files after each '%' which doesn't represent a literal percent) and set UseNewInfoFmtStrings=yes in CVSROOT/config. After that, convert individual command lines and scripts to handle the new format at your leisure.
At this (http://bugzilla.mkgnu.net/show_bug.cgi?id=464#c9) is a crossref to cvshome.org which is currently dead) suggest the same.
Doing a
cvs -d /tmp/newrepos initreveils the UseNewInfoFmtStrings=yes setting.The info files refered at are
less CVSROOT/*infoIs there an upgrade done lately?
Comment #2
clemens.tolboom(Sorry ... messed up the title)
Looks like this has something to do with drupal.org cvs configuration or cvs version.
Comment #3
hunmonk commenteda quick assessment indicates this might not be worth the trouble to fix. we'll have to wait for dww to weigh in on this, though...
Comment #4
clemens.tolboomWhen doing command line committing this is (still) an annoying message ... but there is more to bother about ... what's dww's vote on this?
Comment #5
dwwa) Yes, it's a mismatch between the version of CVS installed on cvs.d.o and the hook format strings we're using.
b) It's a harmless warning.
c) If we change it, we could break the access control scripts and other CVS + Drupal integration stuff, so it'd require good testing.
d) It's low priority to fix.
So, if someone cares, they'd have to:
- Setup CVS 1.12.*
- Create a repo
- Install all the xcvs-* stuff and configure
- Convert to the new format strings in the CVSROOT/*info hooks
- Make sure all the xcvs stuff is still working, getting the data each script expects, etc.
Comment #6
dwwhttp://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_18.html#SEC189 for the interested reader.
Actually, the only hook that matters is loginfo. All the others already use valid, new format strings. This might be trivial to fix, but I'm still worried about someone testing well it before just changing the config on cvs.d.o.
Comment #7
dwwTo be clear: we'll have to change both xcvs-loginfo.php and the CVSROOT/loginfo file. In particular:
So, we'd have to change the arg parsing code in xcvs-loginfo.php (for the better), if we wanted to switch format strings. We probably should do this, but, I repeat, it needs testing, and I still don't think it's particularly high priority.
Comment #8
jpetso commentedFor reference, I did the Version Control CVS backend with a hard (and sufficiently tested) requirement on new info format strings. No idea if project_release makes use of that as well, but if it doesn't then there's nothing to be done anymore.
Comment #9
hunmonk commentedwith EOL approaching for this module, this isn't going to be addressed, esp. since versioncontrol API addresses the issue.
Comment #10
vinoth.3v commentedI am also getting the same response from wincvs client. :( unable to commit/ displaying as dead files.
any help?
Comment #11
aclight commentedThe "Using deprecated info format strings" message shouldn't affect your ability to actually commit code changes to the CVS repository, so you must have a different problem. Please take a look at the error messages you're getting, search d.o to see if this is already covered, and if not create a new issue (make sure to actually report the errors you are getting). Re-opening this issue with a different problem isn't the best way to deal with the problem.
Comment #12
vinoth.3v commentedThanks for the response,
I am in the middle of development for the new module indic_script, today I have committed to CVS. The only error was explained previously & CVS is exited with code 0.
But in web CVS it is displaying the committed files as dead files!
don't know what I am missing :(
Comment #13
aclight commentedYou're probably looking at the wrong branch. It looks like your DRUPAL-6--1 branch (http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/indic_scrip...) contains several files in the root directory of your module, while these files are marked as dead in HEAD (http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/indic_scrip...).
Comment #14
vinoth.3v commentedoh,
If i am committing with the tag HEAD it is displaying the following error
cvs commit: Up-to-date check failed for `indic_script.install'
***** CVS exited normally with code 1 *****
Comment #15
dww@4vinoth: Which part of "Re-opening this issue with a different problem isn't the best way to deal with the problem." wasn't clear? I'm closing comments on this thread.