Differences From:
File
src/tag.c
part of check-in
[b6e22e62cf]
- Attempting to rationalize the tagging and branching logic. The "branch"
command has been resurrected and appears to work now. The "tag branch"
command has been removed. Special tags "newbranch" and "closed" used to
manage branches. New changes are not well-tested - use with caution.
You must "rebuild" when upgrading through this version.
by
drh on
2009-01-20 16:51:19.
[view]
To:
File
src/tag.c
part of check-in
[b7f32a71ab]
- Add web-based branch color changer. Add the "branch list" command.
Simplifications to color propagation logic.
by
drh on
2009-01-20 22:21:24.
[view]
@@ -72,9 +72,9 @@
);
}
if( tagid==TAG_BGCOLOR ){
db_prepare(&eventupdate,
- "UPDATE event SET brbgcolor=%Q WHERE objid=:rid", zValue
+ "UPDATE event SET bgcolor=%Q WHERE objid=:rid", zValue
);
}
while( (pid = pqueue_extract(&queue))!=0 ){
db_bind_int(&s, ":pid", pid);
@@ -185,13 +185,9 @@
}
zCol = 0;
switch( tagid ){
case TAG_BGCOLOR: {
- if( tagtype==1 ){
- zCol = "bgcolor";
- }else{
- zCol = "brbgcolor";
- }
+ zCol = "bgcolor";
break;
}
case TAG_COMMENT: {
zCol = "ecomment";