<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 2010-08-31 23:00, Yuri wrote:
<blockquote cite="mid:4C7D6D86.4060709@rawbw.com" type="cite">
  <div class="moz-text-flowed"
 style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">Please
check in this patch.
  <br>
  <br>
Thanks,
  <br>
Yuri
  <br>
  </div>
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">
  <pre wrap="">
Index: lib/VMCore/Core.cpp
  </pre>
  </div>
</blockquote>
<blockquote cite="mid:4C7D6D86.4060709@rawbw.com" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">
  <pre wrap="">+    const char *repository_revision = "$Rev: 112342 $";
  </pre>
  </div>
</blockquote>
<br>
Hi <br>
<br>
I dont think this will not work in general.<br>
svn will only fill in the new revision when the Core.cpp file are
updated [1]. <br>
The SVN $Rev$ keyword are designed to track changes to a signle file,
not to the whole SVN repository.<br>
<br>
In order to get the "global" SVN revision number for the last checkout
you have to use the tool svnversion [2]. <br>
svnversion can extract the "global" revision number and insert it into
config.h during configure/cmake config.h creation.<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html">http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html</a><br>
<br>
[2]<br>
xerxes@xerxes-J464X:~$ cd llvm<br>
xerxes@xerxes-J464X:~/llvm$ svnversion<br>
112596<br>
<br>
svnversion can also detect modified svn trees.<br>
<br>
Cheers<br>
Xerxes<br>
</body>
</html>