Fossil SCM
Fix minor grammar bug in open check-out required error message.
Commit
55e2487585d96d679e29f0d2211421a2586bbbc3a6b7146fa9943f8453e881ef
Parent
ad44efaff30436f…
1 file changed
+1
-1
M
src/db.c
+1
-1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -1616,11 +1616,11 @@ | ||
| 1616 | 1616 | /* |
| 1617 | 1617 | ** Open the local database. If unable, exit with an error. |
| 1618 | 1618 | */ |
| 1619 | 1619 | void db_must_be_within_tree(void){ |
| 1620 | 1620 | if( find_repository_option() ){ |
| 1621 | - fossil_fatal("the \"%s\" command only work from within an open check-out", | |
| 1621 | + fossil_fatal("the \"%s\" command only works from within an open check-out", | |
| 1622 | 1622 | g.argv[1]); |
| 1623 | 1623 | } |
| 1624 | 1624 | if( db_open_local(0)==0 ){ |
| 1625 | 1625 | fossil_fatal("current directory is not within an open checkout"); |
| 1626 | 1626 | } |
| 1627 | 1627 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1616,11 +1616,11 @@ | |
| 1616 | /* |
| 1617 | ** Open the local database. If unable, exit with an error. |
| 1618 | */ |
| 1619 | void db_must_be_within_tree(void){ |
| 1620 | if( find_repository_option() ){ |
| 1621 | fossil_fatal("the \"%s\" command only work from within an open check-out", |
| 1622 | g.argv[1]); |
| 1623 | } |
| 1624 | if( db_open_local(0)==0 ){ |
| 1625 | fossil_fatal("current directory is not within an open checkout"); |
| 1626 | } |
| 1627 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1616,11 +1616,11 @@ | |
| 1616 | /* |
| 1617 | ** Open the local database. If unable, exit with an error. |
| 1618 | */ |
| 1619 | void db_must_be_within_tree(void){ |
| 1620 | if( find_repository_option() ){ |
| 1621 | fossil_fatal("the \"%s\" command only works from within an open check-out", |
| 1622 | g.argv[1]); |
| 1623 | } |
| 1624 | if( db_open_local(0)==0 ){ |
| 1625 | fossil_fatal("current directory is not within an open checkout"); |
| 1626 | } |
| 1627 |