On Thu, Nov 21, 2013 at 05:56:12PM -0800, Jed Davis wrote: > On Thu, Nov 21, 2013 at 05:41:27PM -0500, Boris Zbarsky wrote: > > On 11/21/13 3:15 PM, Gavin Sharp wrote: > >> It would be good to explore alternatives to Bonsai. > >> https://github.com/mozilla/mozilla-central is supposed to have full > >> CVS history, right? > > > > Hmm. Where in there is the equivalent of > > http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla%2Flayout%2Fhtml%2Fforms%2Fsrc%2FAttic%2FnsGfxTextControlFrame2.cpp&rev=&cvsroot=%2Fcvsroot > > ? > > > > Granted, getting there in bonsai is a pain too, but that's what you > > have to do to get blame across file moves/deletes in CVS... > > I had to cheat somewhat, because git doesn't have an "Attic", and... > um, are we sure our CVS-to-Git conversion is entirely correct? I'm seeing > nsGfxTextControlFrame2.{cpp,h} being deleted in commit 252470c83 (bug 129909), > but also that they were replaced by empty files in commit ec1abf4d5 (bug > 88049) > which seems wrong given a quick glance through the bug. > > Anyway, having cheated and used bonsai to see the commit message for > the deletion to help find the commits mentioned above (am I missing > something, or does git-rev-parse not let you search for "touched this > path"?), I can do this:
You can find the commit that deleted the file with: git rev-list --max-count=1 HEAD -- layout/html/forms/src/nsGfxTextControlFrame2.cpp or replace rev-list with log. Mike _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform