On Thu, Feb 6, 2014 at 4:28 AM, LyX Ticket Tracker <t...@lyx.org> wrote:
> #8657: using advanced Find & Replace hides many toolbar buttons
> ------------------------+-----------------------
>  Reporter:  uwestoehr   |       Owner:  tommaso
>      Type:  defect      |      Status:  new
>  Priority:  normal      |   Milestone:  2.1.0
> Component:  search      |     Version:  2.1.0svn
>  Severity:  normal      |  Resolution:
>  Keywords:  regression  |
> ------------------------+-----------------------
>
> Comment (by skostysh):
>
>  Replying to [comment:25 landroni]:
>  > I could do that, but I'm not very familiar with GIT. What exactly do you
>  have in mind?
>
>  First make sure that you can reproduce the bug on one commit (we call it a
>  "bad" commit because it has the problem) and that you cannot reproduce the
>  bug on a different commit (this is a "good" commit). Then, cd to the git
>  repo directory and do
>
>  1. git bisect start
>  2. git bisect good <good commit hash>
>  3. git bisect bad <bad commit hash>
>
>  Git will now choose a commit for you to test (and it will tell you
>  approximately how many commits you will need to test to figure out the
>  problem commit).
>
>  4. Build LyX.
>  5. Run LyX and try to reproduce the problem. If the problem is there, run
>  "git bisect bad". If not, run "git bisect good".
>  6. Go back to step 4.
>
I'm playing with Git bisect, and I encountered a hitch. What do you do
if  at step 5 GIT aborts:

geek@liv-HP-Compaq-dc7900:~/Build/lyx-trunk/lyx$ git bisect bad
Bisecting: 994 revisions left to test after this (roughly 10 steps)
error: Your local changes to the following files would be overwritten
by checkout:
po/ar.po
po/ca.po
po/cs.po
po/da.po
po/de.po
po/el.po
po/en.po
po/es.po
po/eu.po
po/fi.po
po/fr.po
po/gl.po
po/he.po
po/hu.po
po/ia.po
po/id.po
po/it.po
po/ja.po
po/nb.po
po/nl.po
po/nn.po
po/pl.po
po/pt.po
po/ro.po
po/ru.po
po/sk.po
po/sr.po
po/sv.po
po/tr.po
po/uk.po
po/zh_CN.po
po/zh_TW.po
Please, commit your changes or stash them before you can switch branches.
Aborting

The "local changes" are probably as a result of my doing 'make' on the
tree. Then I did 'stash' as instructed:

geek@liv-HP-Compaq-dc7900:~/Build/lyx-trunk/lyx$ git stash
Saved working directory and index state WIP on (no branch): 536a0b4
Move layout editor zombie to attic.
HEAD is now at 536a0b4 Move layout editor zombie to attic.
geek@liv-HP-Compaq-dc7900:~/Build/lyx-trunk/lyx$ git bisect bad
Bisecting: 994 revisions left to test after this (roughly 10 steps)
[76c5902b4060e0a15b6c23dff273ad6721a9ac69] Parse the picture variant
of \framebox correctly (part of bug #6449)

But now after 'make' the compilation seems to be taking ages (as a
cold compilation would do). I was expecting that it would only rebuild
the changed bits. Am I missing something?

Liviu

PS Moreover, the compilation failed. What do you do when that happens?
git bisect bad?


> --
> Ticket URL: <http://www.lyx.org/trac/ticket/8657#comment:26>
> The LyX Project <http://www.lyx.org/>
> LyX -- The Document Processor



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail

Reply via email to