Fossil SCM
Pedantic cosmetic change: do un-rm before un-add.
Commit
6e21c7d70626f331124f08e1f24c1491144ee99dbedb40f6eb082cd73d7b3cb9
Parent
369a14b33fb79ff…
1 file changed
+1
-1
+1
-1
| --- src/add.c | ||
| +++ src/add.c | ||
| @@ -738,11 +738,11 @@ | ||
| 738 | 738 | fVerbose = find_option("verbose", "v", 0)!=0; |
| 739 | 739 | verify_all_options(); |
| 740 | 740 | |
| 741 | 741 | db_begin_transaction(); |
| 742 | 742 | db_prepare(&stmt, "SELECT id, rid, deleted, pathname FROM vfile " |
| 743 | - "ORDER BY deleted<>0, pathname"); | |
| 743 | + "ORDER BY deleted=0, pathname"); | |
| 744 | 744 | while( db_step(&stmt)==SQLITE_ROW ){ |
| 745 | 745 | /* This loop exists only so we can restore the contents of un-rm'd |
| 746 | 746 | ** files. All manipulation of vfile's contents happens after the |
| 747 | 747 | ** loop. */ |
| 748 | 748 | int const rid = db_column_int(&stmt, 1); |
| 749 | 749 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -738,11 +738,11 @@ | |
| 738 | fVerbose = find_option("verbose", "v", 0)!=0; |
| 739 | verify_all_options(); |
| 740 | |
| 741 | db_begin_transaction(); |
| 742 | db_prepare(&stmt, "SELECT id, rid, deleted, pathname FROM vfile " |
| 743 | "ORDER BY deleted<>0, pathname"); |
| 744 | while( db_step(&stmt)==SQLITE_ROW ){ |
| 745 | /* This loop exists only so we can restore the contents of un-rm'd |
| 746 | ** files. All manipulation of vfile's contents happens after the |
| 747 | ** loop. */ |
| 748 | int const rid = db_column_int(&stmt, 1); |
| 749 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -738,11 +738,11 @@ | |
| 738 | fVerbose = find_option("verbose", "v", 0)!=0; |
| 739 | verify_all_options(); |
| 740 | |
| 741 | db_begin_transaction(); |
| 742 | db_prepare(&stmt, "SELECT id, rid, deleted, pathname FROM vfile " |
| 743 | "ORDER BY deleted=0, pathname"); |
| 744 | while( db_step(&stmt)==SQLITE_ROW ){ |
| 745 | /* This loop exists only so we can restore the contents of un-rm'd |
| 746 | ** files. All manipulation of vfile's contents happens after the |
| 747 | ** loop. */ |
| 748 | int const rid = db_column_int(&stmt, 1); |
| 749 |