Fossil SCM

Fix minor grammar bug in open check-out required error message.

andybradford 2017-05-26 02:27 trunk
Commit 55e2487585d96d679e29f0d2211421a2586bbbc3a6b7146fa9943f8453e881ef
1 file changed +1 -1
+1 -1
--- src/db.c
+++ src/db.c
@@ -1616,11 +1616,11 @@
16161616
/*
16171617
** Open the local database. If unable, exit with an error.
16181618
*/
16191619
void db_must_be_within_tree(void){
16201620
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",
16221622
g.argv[1]);
16231623
}
16241624
if( db_open_local(0)==0 ){
16251625
fossil_fatal("current directory is not within an open checkout");
16261626
}
16271627
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button