> The right thing to do is to get a copy of the repo up to the bad patch. Then > taking a diff of the bad patch and trying to apply it by hand. That should > fail, and you should be able to find out why.
Ok, I tried to do that and hope I got that right. I created a test directory, and did: $ darcs init --old-fashioned-inventory and then started pulling patches one by one, until I had all the patches before the offending patch. I then did a darcs diff to see what the offending patch does to irates.tex, and put the output of the darcs diff into a diff.txt. $ cat diff.txt 24d23 < % In fact, state how the swap can be valued, but do valuation in exercises. 26a26,31 > % * Proper explanations of caps, floors, swaptions a la Hull ch 22. > % * Cap price = floor price + value of swap : put-call parity for floors, > % caps and swaps. Hull p. 517 > % * Hull: Collar: pick cap and floor price such that they are equal, value of > % entering collar is zero. ibid. > I then tried applying it by hand in the test directory: $ patch irates.tex diff.txt patching file irates.tex Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file irates.tex.rej zulu:~/darcs2/hrm/irates max$ cat irates.tex.rej *************** *** 24 - % In fact, state how the swap can be valued, but do valuation in exercises. --- 0 ----- *************** *** 0 --- 26,31 ----- + % * Proper explanations of caps, floors, swaptions a la Hull ch 22. + % * Cap price = floor price + value of swap : put-call parity for floors, + % caps and swaps. Hull p. 517 + % * Hull: Collar: pick cap and floor price such that they are equal, value of + % entering collar is zero. ibid. + Does this mean anything? Thanks for your help. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
