<div dir="ltr">Hi Tobias,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 21, 2016 at 1:37 PM, Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Eliot,<br>
<span class=""><br>
On 21.06.2016, at 22:08, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi All,<br>
&gt;<br>
&gt;     recent changes, I *think* to updateSCCSVersions, have broken platforms/Cross/vm/sqSCCSVersion.h:<br>
&gt;<br>
&gt; static char SvnRawRepositoryURL[] = &quot;$URL: <a href="http://github.com/OpenSmalltalk/vm" rel="noreferrer" target="_blank">http://github.com/OpenSmalltalk/vm</a><br>
&gt;     SetWindowLongPtr_64bit_compatibility new (next fetch will store in remotes/origin)<br>
&gt;     tim/deployment-fixes                 new (next fetch will store in remotes/origin) $&quot;;<br>
<br>
</span>This is due to the line you added in .git_filters/RevDateURL.smudge:<br>
<br>
<br>
 if (!$url) { $url=`git remote show origin | grep -i fetch | sed &#39;s/^.*URL: //&#39; 2&gt;/dev/null` }<br>
<br>
Problem being, the two lines match &#39;fetch&#39; (next _fetch_ will store in ...), so you get more than the actual URL.<br>
<br>
However, this has been fixed already, the current version from 24198c6<br>
(see <a href="https://github.com/OpenSmalltalk/vm/commits/Cog/.git_filters/RevDateURL.smudge" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/vm/commits/Cog/.git_filters/RevDateURL.smudge</a>) has changed<br>
and does not suffer from the grep. Relevant lines:<br>
<br>
<br>
if ((defined $ENV{&#39;TRAVIS&#39;}) || (defined $ENV{&#39;APPVEYOR&#39;})) {<br>
    $url=`git config --get remote.origin.url`;<br>
} else {<br>
    $url=`whoami` . &#39;@&#39; . `hostname` . &#39;:&#39; . `PWD=\$(pwd) echo \${PWD##\$HOME/}`;<br>
}<br></blockquote><div><br></div><div>Thanks.  So it was me :-(.  Good to know.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is your repo up to date?<br></blockquote><div><br></div><div>How do I know?  This &quot;fetch and then diff&quot; method is IMO broken.  I simply want to know whether there are incoming commits /before/ I do a fetch.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888">        -Tobias<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; First, multi-liner string constants must be terminated with a backslash to compile.  So at the very least we&#39;d need<br>
&gt;<br>
&gt; static char SvnRawRepositoryURL[] = &quot;$URL: <a href="http://github.com/OpenSmalltalk/vm\" rel="noreferrer" target="_blank">http://github.com/OpenSmalltalk/vm\</a><br>
&gt;     SetWindowLongPtr_64bit_compatibility new (next fetch will store in remotes/origin)\<br>
&gt;     tim/deployment-fixes                 new (next fetch will store in remotes/origin) $&quot;;<br>
&gt;<br>
&gt; But second, multi-line output doesn&#39;t make sense here.  We need something that fits on a single line.  Who is going to fix this?  I have a production build which is broken because of this.<br>
&gt;<br>
&gt; _,,,^..^,,,_<br>
&gt; best, Eliot<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>