<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sun, 8 May 2016 at 16:33 Senthil Kumaran <<a href="mailto:senthil@uthcode.com">senthil@uthcode.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Hi Martin, Brett:</div><div class="gmail_extra"></div></div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 8, 2016 at 10:38 AM, Brett Cannon <span dir="ltr"><<a href="mailto:brett@python.org" target="_blank">brett@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">$ git rev-list --count master<br>
489<br>
<br>
I don’t know what the equivalent command in Mercurial is. Perhaps you<br>
could clone the relevant branch to a fresh repository and check the<br>
numerical revision number.<br></blockquote><div><br></div></div></div><div>SO to the rescue (and Martin is right about how to figure it out): <a href="http://stackoverflow.com/questions/16672788/total-count-of-change-sets-for-mercurial-and-git" target="_blank">http://stackoverflow.com/questions/16672788/total-count-of-change-sets-for-mercurial-and-git</a></div><div><br></div><div>Senthil has also suggested verifying the hashes of all the files in a repository that are not in .hg or .git directories.</div><div></div></blockquote></div><br></div></div><div dir="ltr"><div class="gmail_extra">Are these validations enough for our purposes? </div></div></blockquote><div><br></div><div>Don't know, but it's at least a start.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">Two files in the different version-control system can have same SHA and same commit of commits, but have a possibility of changesets/diffs associated with those commits different. I was thinking, how we should go about with this when evaluating the existing git repo.</div><div class="gmail_extra"><br></div><div class="gmail_extra">When we do migration afresh using a tool like hg-git, we assume that this verification step is asserted as part of unit tests of the tool.</div></div></blockquote><div><br></div><div>That would be my hope. It obviously doesn't hurt to check, though, if it isn't too difficult.</div><div><br></div><div>-Brett</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">-- </div><div class="gmail_extra">Senthil</div><div class="gmail_extra"><br></div><div class="gmail_extra"> </div></div></blockquote></div></div>