[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SubWCRev: Replacement of $WCNOW=%d$ not as expected from strftime

From: Aust,Dirk <Dirk.Aust_at_PERKINELMER.COM>
Date: Mon, 8 Nov 2010 08:17:32 -0000

Hello!

I found an issues with the SubWCRev 1.6.11 Build 20210 64bit.

 

When I create a template of the form:

 

#define SVNDATE ($WCNOW=%y$ << 9 | $WCNOW=%m$ << 5 | $WCNOW=%d$)

 

At least the last keyword is replace always with a leading '0', today
'08' which causes the compiler to stop with an error because it
interprets this as octal constant, not a decimal one. I expected the
'%d' to be replaced with a number 1...31.

 

Best Regards,

 

Dirk-Rolf Aust Dipl.-Ing. (TU) | Electrical Engineer, Cellular Imaging &
Analysis

PerkinElmer | For the Better

dirk.aust_at_perkinelmer.com

Phone: +49 40.307090.315 | Fax: +49 40.307090.490

Schnackenburgallee 114, 22525 Hamburg, Germany

www.perkinelmer.com

Please consider the environment before printing this e-mail.

This e-mail message and any attachments are confidential and proprietary
to PerkinElmer, Inc. If you are not the intended recipient of this
message, please inform the sender by replying to this email or sending a
message to the sender and destroy the message and any attachments.
Thank you.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2679865

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-08 11:16:24 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.