<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On 03 May 2006, at 17:31, Brad Miller wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Fred,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I've been trying out mercurial.  I had to modify the log command and remove the single quotes around the HG_STYLE directory in the eval lines, otherwise I get an error message that the <FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">map-cmdline.changelog file is not found.</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">I'm not sure why but removing the single quotes fixes the problem.  </SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV></BLOCKQUOTE><BR></DIV><DIV>I'll need the help of some escaping guru fot this one.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I added those weird single quotes to the double quotes "'HG_STYLE'" because if I don't I get "<FONT class="Apple-style-span" face="Lucida Grande" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">abort: No such file or directory - /Library/Application" </SPAN><FONT class="Apple-style-span" color="#000000" face="Helvetica"><SPAN class="Apple-style-span" style="background-color: transparent;">which means the path is note quoted. </SPAN></FONT></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>It's not working for me without the quotes and it's not working for you with the quotes.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Heeelp. ;)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Here is the command:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">: ${TM_RUBY:=ruby}</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">FORMAT_LOG="${TM_BUNDLE_SUPPORT}/format_log.rb"</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">HG_STYLE="${TM_BUNDLE_SUPPORT}/map-cmdline.changelog"</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">if [[ $TM_HG_LOG_LIMIT != 0 ]]</SPAN></FONT></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">then HG_LIMIT="-l ${TM_HG_LOG_LIMIT:=10}"</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">fi</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">if [[ -z $TM_SELECTED_FILES ]]; then</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">   "$TM_HG" log -v $HG_LIMIT --style "$HG_STYLE" "$TM_FILEPATH" 2>&1 |"$TM_RUBY" -- "$FORMAT_LOG"</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">else</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">   eval "$TM_HG" log -v $HG_LIMIT --style "'$HG_STYLE'" $TM_SELECTED_FILES 2>&1 |"$TM_RUBY" -- "$FORMAT_LOG"</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">fi</SPAN></FONT></DIV></BODY></HTML>