[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parsing loginfo
From: |
Rob Helmer |
Subject: |
parsing loginfo |
Date: |
Fri, 15 Feb 2002 10:24:28 -0800 |
User-agent: |
Mutt/1.2.5i |
Hello,
Please point me to documentation on this if it exists, I can't
seem to find what I am looking for on the cvshome.org site.
I want to parse the following info out of each checkin ( currently
I am using "CVSROOT/loginfo" to pass this info ) :
module name
path to file
file name
previous revision
current revision
I can get this all in one string from loginfo using %{sVv} however
if there are spaces in any of the above data, I can't really parse
this string reliably.
I tried passing these variables independently, like %s %V %v and
%{s} %{V} %{v} so my script could just grab then as individual
arguments, but only %s seems to work, the others get printed
literally.
I looked at some other loginfo parsing scripts as an example, but
they seem to be parsing the whole string, and I imagine they'd fall
victim to the same thing.
Any info would be greatly appreciated.
Thanks,
Rob Helmer
Namodn
- parsing loginfo,
Rob Helmer <=