Fossil SCM
Fix the test-content-undelta command.
Commit
786017890d282e42abdb4ac9c4cf3b2fc654d0db
Parent
2427250b01a6b09…
1 file changed
+1
-1
+1
-1
| --- src/content.c | ||
| +++ src/content.c | ||
| @@ -709,11 +709,11 @@ | ||
| 709 | 709 | ** |
| 710 | 710 | ** Make sure the content at RECORDID is not a delta |
| 711 | 711 | */ |
| 712 | 712 | void test_content_undelta_cmd(void){ |
| 713 | 713 | int rid; |
| 714 | - if( g.argc!=2 ) usage("RECORDID"); | |
| 714 | + if( g.argc!=3 ) usage("RECORDID"); | |
| 715 | 715 | db_must_be_within_tree(); |
| 716 | 716 | rid = atoi(g.argv[2]); |
| 717 | 717 | content_undelta(rid); |
| 718 | 718 | } |
| 719 | 719 | |
| 720 | 720 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -709,11 +709,11 @@ | |
| 709 | ** |
| 710 | ** Make sure the content at RECORDID is not a delta |
| 711 | */ |
| 712 | void test_content_undelta_cmd(void){ |
| 713 | int rid; |
| 714 | if( g.argc!=2 ) usage("RECORDID"); |
| 715 | db_must_be_within_tree(); |
| 716 | rid = atoi(g.argv[2]); |
| 717 | content_undelta(rid); |
| 718 | } |
| 719 | |
| 720 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -709,11 +709,11 @@ | |
| 709 | ** |
| 710 | ** Make sure the content at RECORDID is not a delta |
| 711 | */ |
| 712 | void test_content_undelta_cmd(void){ |
| 713 | int rid; |
| 714 | if( g.argc!=3 ) usage("RECORDID"); |
| 715 | db_must_be_within_tree(); |
| 716 | rid = atoi(g.argv[2]); |
| 717 | content_undelta(rid); |
| 718 | } |
| 719 | |
| 720 |