On 7/9/07, <b class="gmail_sendername">Giorgos Keramidas</b> &lt;<a href="mailto:keramida@ceid.upatras.gr">keramida@ceid.upatras.gr</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 2007-07-09 12:32, Mathieu Clabaut &lt;<a href="mailto:mathieu.clabaut@gmail.com">mathieu.clabaut@gmail.com</a>&gt; wrote:<br>&gt; Ok...<br>&gt; I certainly can do a bruteforce search like:<br>&gt;<br>&gt; hg log --template &#39;{node}\n&#39; myfile | while read ver; do hg cat -r $ver
<br>&gt; myfile &gt; /tmp/hgcat.$$; cmp /tmp/hgcat.$$ myreferencefile &amp;&amp; echo &quot;found<br>&gt; $ver&quot;;&nbsp;&nbsp;done<br><br>If you know parts of the filename, you can use:</blockquote><div><br>Yes, I eventually use the above trick (I did know the filename.... I just had to find the revision(s) where the file exactly match the one in mercurial repo). It was not a so 
<span style="font-style: italic;">brute</span> search as there was few modifications done to this file in the history.<br><br>-mathieu<br></div><br></div><br>