Fossil SCM
I think I fix the previous commit, that should avoid committing a ticket manifest if it has no changes. It was ignoring the ticket appends. In the case of only appending, the user was not notified not properly redirected, and the ticket chagnes were not committed. Still, there should be some kind of warning to the user, if it ends up in such situation, I think.
Commit
f02946aa8b4e27124c1e5840ef907a60dc875025
Parent
6032dd51f2bca8f…
1 file changed
+1
+1
| --- src/tkt.c | ||
| +++ src/tkt.c | ||
| @@ -446,10 +446,11 @@ | ||
| 446 | 446 | free(zDate); |
| 447 | 447 | for(i=0; i<nField; i++){ |
| 448 | 448 | if( azAppend[i] ){ |
| 449 | 449 | blob_appendf(&tktchng, "J +%s %z\n", azField[i], |
| 450 | 450 | fossilize(azAppend[i], -1)); |
| 451 | + ++nJ; | |
| 451 | 452 | } |
| 452 | 453 | } |
| 453 | 454 | for(i=0; i<nField; i++){ |
| 454 | 455 | const char *zValue; |
| 455 | 456 | int nValue; |
| 456 | 457 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -446,10 +446,11 @@ | |
| 446 | free(zDate); |
| 447 | for(i=0; i<nField; i++){ |
| 448 | if( azAppend[i] ){ |
| 449 | blob_appendf(&tktchng, "J +%s %z\n", azField[i], |
| 450 | fossilize(azAppend[i], -1)); |
| 451 | } |
| 452 | } |
| 453 | for(i=0; i<nField; i++){ |
| 454 | const char *zValue; |
| 455 | int nValue; |
| 456 |
| --- src/tkt.c | |
| +++ src/tkt.c | |
| @@ -446,10 +446,11 @@ | |
| 446 | free(zDate); |
| 447 | for(i=0; i<nField; i++){ |
| 448 | if( azAppend[i] ){ |
| 449 | blob_appendf(&tktchng, "J +%s %z\n", azField[i], |
| 450 | fossilize(azAppend[i], -1)); |
| 451 | ++nJ; |
| 452 | } |
| 453 | } |
| 454 | for(i=0; i<nField; i++){ |
| 455 | const char *zValue; |
| 456 | int nValue; |
| 457 |