Fossil SCM
Corrected "fossil user password" error message. It had an extra user
Commit
df3d6cbff5949a10e10957ad2ca016f0e8cafb2f
Parent
c841af0d501417c…
2 files changed
+1
-1
+1
+1
-1
| --- src/user.c | ||
| +++ src/user.c | ||
| @@ -213,11 +213,11 @@ | ||
| 213 | 213 | db_finalize(&q); |
| 214 | 214 | }else if( n>=2 && strncmp(g.argv[2],"password",2)==0 ){ |
| 215 | 215 | char *zPrompt; |
| 216 | 216 | int uid; |
| 217 | 217 | Blob pw; |
| 218 | - if( g.argc!=4 ) usage("user password USERNAME"); | |
| 218 | + if( g.argc!=4 ) usage("password USERNAME"); | |
| 219 | 219 | uid = db_int(0, "SELECT uid FROM user WHERE login=%Q", g.argv[3]); |
| 220 | 220 | if( uid==0 ){ |
| 221 | 221 | fossil_fatal("no such user: %s", g.argv[3]); |
| 222 | 222 | } |
| 223 | 223 | zPrompt = mprintf("new passwd for %s: ", g.argv[3]); |
| 224 | 224 |
| --- src/user.c | |
| +++ src/user.c | |
| @@ -213,11 +213,11 @@ | |
| 213 | db_finalize(&q); |
| 214 | }else if( n>=2 && strncmp(g.argv[2],"password",2)==0 ){ |
| 215 | char *zPrompt; |
| 216 | int uid; |
| 217 | Blob pw; |
| 218 | if( g.argc!=4 ) usage("user password USERNAME"); |
| 219 | uid = db_int(0, "SELECT uid FROM user WHERE login=%Q", g.argv[3]); |
| 220 | if( uid==0 ){ |
| 221 | fossil_fatal("no such user: %s", g.argv[3]); |
| 222 | } |
| 223 | zPrompt = mprintf("new passwd for %s: ", g.argv[3]); |
| 224 |
| --- src/user.c | |
| +++ src/user.c | |
| @@ -213,11 +213,11 @@ | |
| 213 | db_finalize(&q); |
| 214 | }else if( n>=2 && strncmp(g.argv[2],"password",2)==0 ){ |
| 215 | char *zPrompt; |
| 216 | int uid; |
| 217 | Blob pw; |
| 218 | if( g.argc!=4 ) usage("password USERNAME"); |
| 219 | uid = db_int(0, "SELECT uid FROM user WHERE login=%Q", g.argv[3]); |
| 220 | if( uid==0 ){ |
| 221 | fossil_fatal("no such user: %s", g.argv[3]); |
| 222 | } |
| 223 | zPrompt = mprintf("new passwd for %s: ", g.argv[3]); |
| 224 |
M
todo.txt
+1
| --- todo.txt | ||
| +++ todo.txt | ||
| @@ -23,10 +23,11 @@ | ||
| 23 | 23 | * Bug: pull is ending prematurely. |
| 24 | 24 | |
| 25 | 25 | * Bug: Make sure merge and other commands (check-out) do not try |
| 26 | 26 | to use a phantom. |
| 27 | 27 | |
| 28 | + * Bug: When clone use incorrect http URL, local repo file is still created. | |
| 28 | 29 | |
| 29 | 30 | Things to work on: |
| 30 | 31 | |
| 31 | 32 | * Use the wiki_convert() routine to render comments and other text |
| 32 | 33 | on web pages. |
| 33 | 34 |
| --- todo.txt | |
| +++ todo.txt | |
| @@ -23,10 +23,11 @@ | |
| 23 | * Bug: pull is ending prematurely. |
| 24 | |
| 25 | * Bug: Make sure merge and other commands (check-out) do not try |
| 26 | to use a phantom. |
| 27 | |
| 28 | |
| 29 | Things to work on: |
| 30 | |
| 31 | * Use the wiki_convert() routine to render comments and other text |
| 32 | on web pages. |
| 33 |
| --- todo.txt | |
| +++ todo.txt | |
| @@ -23,10 +23,11 @@ | |
| 23 | * Bug: pull is ending prematurely. |
| 24 | |
| 25 | * Bug: Make sure merge and other commands (check-out) do not try |
| 26 | to use a phantom. |
| 27 | |
| 28 | * Bug: When clone use incorrect http URL, local repo file is still created. |
| 29 | |
| 30 | Things to work on: |
| 31 | |
| 32 | * Use the wiki_convert() routine to render comments and other text |
| 33 | on web pages. |
| 34 |