开发者

Why can't I see $WCREV$ in set dos command after executing SubWCRev.exe subversion tool?

I can successfully execute SubWCRev.exe on Windows. It does show r开发者_开发知识库evision number. But typing set under dos command doesn't list any $WCREV$ var. So where is it stored ?


From the SubWCRev.exe help output, this is the expected command line:

Usage: SubWCRev WorkingCopyPath [SrcVersionFile DstVersionFile] [-nmdf]

and this is what it does with the SrcVersionFile and DstVersionFile arguments if you give them:

SubWCRev reads the Subversion status of all files in a working copy excluding externals. If SrcVersionFile is specified, it is scanned for special placeholders of the form "$WCxxx$". SrcVersionFile is then copied to DstVersionFile but the placeholders are replaced with information about the working copy as follows:

$WCREV$         Highest committed revision number
...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜