On 7/9/07, <b class="gmail_sendername">Giorgos Keramidas</b> <<a href="mailto:keramida@ceid.upatras.gr">keramida@ceid.upatras.gr</a>> 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 <<a href="mailto:mathieu.clabaut@gmail.com">mathieu.clabaut@gmail.com</a>> wrote:<br>> Ok...<br>> I certainly can do a bruteforce search like:<br>><br>> hg log --template '{node}\n' myfile | while read ver; do hg cat -r $ver
<br>> myfile > /tmp/hgcat.$$; cmp /tmp/hgcat.$$ myreferencefile && echo "found<br>> $ver"; 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>