Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Show diffs on info pages even if the user lacks history privilege. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
72147afc9df83322607516279a7fcb4f |
| User & Date: | drh 2010-08-26 14:13:15.000 |
Context
|
2010-08-27
| ||
| 17:19 | Fix a typo in the popen2() implementation for windows. Ticket [cf50ea4d6914fb6d856988da7]. Also refinements on the ssh:// toward getting it working on windows. ... (check-in: d5c934e5df user: drh tags: trunk) | |
| 01:24 | Create new branch named "windowscompilers" ... (check-in: 3e3304ac44 user: renez tags: windowscompilers) | |
|
2010-08-26
| ||
| 14:13 | Show diffs on info pages even if the user lacks history privilege. ... (check-in: 72147afc9d user: drh tags: trunk) | |
| 13:29 | Close pipes before killing off the child process. ... (check-in: 360b047759 user: drh tags: trunk) | |
Changes
Changes to src/info.c.
| ︙ | ︙ | |||
260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
if( !g.okHistory ){
if( zNew==0 ){
@ <p>Deleted %h(zName)</p>
}else if( zOld==0 ){
@ <p>Added %h(zName)</p>
}else{
@ <p>Changes to %h(zName)</p>
}
}else if( zOld && zNew ){
@ <p>Modified <a href="%s(g.zTop)/finfo?name=%T(zName)">%h(zName)</a>
@ from <a href="%s(g.zTop)/artifact/%s(zOld)">[%S(zOld)]</a>
@ to <a href="%s(g.zTop)/artifact/%s(zNew)">[%S(zNew)].</a>
if( !showDiff ){
@
| > > > > > > > | 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 |
if( !g.okHistory ){
if( zNew==0 ){
@ <p>Deleted %h(zName)</p>
}else if( zOld==0 ){
@ <p>Added %h(zName)</p>
}else{
@ <p>Changes to %h(zName)</p>
if( showDiff ){
int rid1 = uuid_to_rid(zOld, 0);
int rid2 = uuid_to_rid(zNew, 0);
@ <blockquote><pre>
append_diff(rid1, rid2);
@ </pre></blockquote>
}
}
}else if( zOld && zNew ){
@ <p>Modified <a href="%s(g.zTop)/finfo?name=%T(zName)">%h(zName)</a>
@ from <a href="%s(g.zTop)/artifact/%s(zOld)">[%S(zOld)]</a>
@ to <a href="%s(g.zTop)/artifact/%s(zNew)">[%S(zNew)].</a>
if( !showDiff ){
@
|
| ︙ | ︙ |