Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | When listing closed branches, only show a branch if every leaf of that branch is closed. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
74c86dd1da61adf1e1a51ce2f795508f |
| User & Date: | drh 2011-05-04 13:56:58.238 |
References
|
2011-05-05
| ||
| 15:16 | • Ticket [f0f9aff371] 'annotate' misses changes. status still Open with 2 other changes ... (artifact: bb0c78e1e5 user: viriketo) | |
Context
|
2011-05-06
| ||
| 13:13 | Fix a bug in the sub-repository detection logic. Ticket [b733bba0b7319ef2]. ... (check-in: e56a4ec3ad user: drh tags: trunk) | |
|
2011-05-04
| ||
| 13:56 | When listing closed branches, only show a branch if every leaf of that branch is closed. ... (check-in: 74c86dd1da user: drh tags: trunk) | |
|
2011-05-03
| ||
| 13:37 | Enable Basic Authorization during sync operations by prepending a single "#" to the password. ... (check-in: c1506adbf7 user: drh tags: trunk) | |
Changes
Changes to src/branch.c.
| ︙ | ︙ | |||
274 275 276 277 278 279 280 | @ closed leaves</a></div>. @ Closed branches are fixed and do not change (unless they are first @ reopened)</li> @ </ol> style_sidebox_end(); cnt = 0; | > | > > > > > > > > > > > > | | | | | | | > | 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 |
@ closed leaves</a></div>.
@ Closed branches are fixed and do not change (unless they are first
@ reopened)</li>
@ </ol>
style_sidebox_end();
cnt = 0;
if( showClosed ){
db_prepare(&q,
"SELECT value FROM tagxref"
" WHERE tagid=%d AND value NOT NULL "
"EXCEPT "
"SELECT value FROM tagxref"
" WHERE tagid=%d"
" AND rid IN leaf"
" AND NOT %z"
" ORDER BY value /*sort*/",
TAG_BRANCH, TAG_BRANCH, leaf_is_closed_sql("tagxref.rid")
);
}else{
db_prepare(&q,
"SELECT DISTINCT value FROM tagxref"
" WHERE tagid=%d AND value NOT NULL"
" AND rid IN leaf"
" AND NOT %z"
" ORDER BY value /*sort*/",
TAG_BRANCH, leaf_is_closed_sql("tagxref.rid")
);
}
while( db_step(&q)==SQLITE_ROW ){
const char *zBr = db_column_text(&q, 0);
if( cnt==0 ){
if( showClosed ){
@ <h2>Closed Branches:</h2>
}else{
@ <h2>Open Branches:</h2>
|
| ︙ | ︙ |