Opened 18 years ago
Closed 18 years ago
#4303 closed defect (worksforme)
view attachment of a patch omit the second file
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.10.2 |
Severity: | normal | Keywords: | diff |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
In http://trac.gnugo.org/gnugo/ticket/149 there is simple patch, impacting 2 files.
when clicking on the patch to view it (http://trac.gnugo.org/gnugo/attachment/ticket/149/patterns2-endgame.diff) we see only the diff for the first impacted file, but not the second :(
Attachments (0)
Change History (4)
comment:1 by , 18 years ago
Keywords: | diff added |
---|
comment:2 by , 18 years ago
Works fine on trunk.
Not sure it's worth backporting on 0.10.x, as the code has started to diverge (and probably will still evolve even more…)
Proposing a worksforme here.
comment:3 by , 18 years ago
Hi again. The patch on GNU Go trac have been changed and now display is correct http://trac.gnugo.org/gnugo/attachment/ticket/149/patterns2-endgame.diff
The new patch has been made with "cvs diff" instead of "diff" against a tarball, so now the patch has "index" references and is correctly displayed. (/alain)
Interesting.. it looks like the
#!diff
WikiProcessor is stripping part of the content. Here is the patch (I truncated a few parts to just display the relevant bug) in a normal block:and then the same section with
#!diff
prepended../patterns/endgame.db
Pattern CF3O*.O threaten to save:-,-b*ca; dead(a) && !dead(b) && oplay_disconnect(*,*,a) && !oplay_attack(*,?,c,a)> threaten_to_save(a)./patterns/patterns2.db
Sente13