This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] [issue734] Diff single file mission refuses to accept anything

vintermann bugs at openhatch.org
Tue May 15 21:33:31 UTC 2012


New submission from vintermann <vintermann at gmail.com>:

The "diffing individual files" step under the "Using diff and patch" mission
appears to be broken. 

I downloaded the source from git, and found the two correct files
(diffsingle.txt and diffsingle_result.txt in mysite/missions/diffpatch/data).
Running 'diff -u diffsingle.txt diffsingle_result.txt' in that directory
provides a patch which the form does not accept. So the problem is definitively
not on our side (there are four people in the forums saying this test doesn't
work now).

I think it must have been the changes to the text on 2. may (commit
c392308096fa5513d61b0e68f1d792e1778ac821) that introduced this bug, but I
haven't figured out what causes it yet.

Interestingly, the form does give the proper error message if you enter a
garbled patch, or a reversed patch.

----------
messages: 3246
nosy: paulproteus, vintermann
priority: bug
status: unread
title: Diff single file mission refuses to accept anything

__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue734>
__________________________________________


More information about the Devel mailing list