Fossil SCM
Rename the --save-password option on "fossil clone" to --save-http-password, since it only works for HTTP.
Commit
22517bab6c124e4b16bd64378722dd923f29b39ff183e361dfc2e4a6b2fb8ab6
Parent
2d7a8a832faa5ab…
1 file changed
+2
-2
+2
-2
| --- src/clone.c | ||
| +++ src/clone.c | ||
| @@ -113,11 +113,11 @@ | ||
| 113 | 113 | ** --admin-user|-A USERNAME Make USERNAME the administrator |
| 114 | 114 | ** --httpauth|-B USER:PASS Add HTTP Basic Authorization to requests |
| 115 | 115 | ** --nocompress Omit extra delta compression |
| 116 | 116 | ** --once Don't remember the URI. |
| 117 | 117 | ** --private Also clone private branches |
| 118 | -** --save-password Remember the password without asking | |
| 118 | +** --save-http-password Remember the HTTP password without asking | |
| 119 | 119 | ** --ssh-command|-c SSH Use SSH as the "ssh" command |
| 120 | 120 | ** --ssl-identity FILENAME Use the SSL identity if requested by the server |
| 121 | 121 | ** -u|--unversioned Also sync unversioned content |
| 122 | 122 | ** -v|--verbose Show more statistics in output |
| 123 | 123 | ** |
| @@ -133,11 +133,11 @@ | ||
| 133 | 133 | int noCompress = find_option("nocompress",0,0)!=0; |
| 134 | 134 | |
| 135 | 135 | /* Also clone private branches */ |
| 136 | 136 | if( find_option("private",0,0)!=0 ) syncFlags |= SYNC_PRIVATE; |
| 137 | 137 | if( find_option("once",0,0)!=0) urlFlags &= ~URL_REMEMBER; |
| 138 | - if( find_option("save-password",0,0)!=0 ){ | |
| 138 | + if( find_option("save-http-password",0,0)!=0 ){ | |
| 139 | 139 | urlFlags &= ~URL_PROMPT_PW; |
| 140 | 140 | urlFlags |= URL_REMEMBER_PW; |
| 141 | 141 | } |
| 142 | 142 | if( find_option("verbose","v",0)!=0) syncFlags |= SYNC_VERBOSE; |
| 143 | 143 | if( find_option("unversioned","u",0)!=0 ) syncFlags |= SYNC_UNVERSIONED; |
| 144 | 144 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -113,11 +113,11 @@ | |
| 113 | ** --admin-user|-A USERNAME Make USERNAME the administrator |
| 114 | ** --httpauth|-B USER:PASS Add HTTP Basic Authorization to requests |
| 115 | ** --nocompress Omit extra delta compression |
| 116 | ** --once Don't remember the URI. |
| 117 | ** --private Also clone private branches |
| 118 | ** --save-password Remember the password without asking |
| 119 | ** --ssh-command|-c SSH Use SSH as the "ssh" command |
| 120 | ** --ssl-identity FILENAME Use the SSL identity if requested by the server |
| 121 | ** -u|--unversioned Also sync unversioned content |
| 122 | ** -v|--verbose Show more statistics in output |
| 123 | ** |
| @@ -133,11 +133,11 @@ | |
| 133 | int noCompress = find_option("nocompress",0,0)!=0; |
| 134 | |
| 135 | /* Also clone private branches */ |
| 136 | if( find_option("private",0,0)!=0 ) syncFlags |= SYNC_PRIVATE; |
| 137 | if( find_option("once",0,0)!=0) urlFlags &= ~URL_REMEMBER; |
| 138 | if( find_option("save-password",0,0)!=0 ){ |
| 139 | urlFlags &= ~URL_PROMPT_PW; |
| 140 | urlFlags |= URL_REMEMBER_PW; |
| 141 | } |
| 142 | if( find_option("verbose","v",0)!=0) syncFlags |= SYNC_VERBOSE; |
| 143 | if( find_option("unversioned","u",0)!=0 ) syncFlags |= SYNC_UNVERSIONED; |
| 144 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -113,11 +113,11 @@ | |
| 113 | ** --admin-user|-A USERNAME Make USERNAME the administrator |
| 114 | ** --httpauth|-B USER:PASS Add HTTP Basic Authorization to requests |
| 115 | ** --nocompress Omit extra delta compression |
| 116 | ** --once Don't remember the URI. |
| 117 | ** --private Also clone private branches |
| 118 | ** --save-http-password Remember the HTTP password without asking |
| 119 | ** --ssh-command|-c SSH Use SSH as the "ssh" command |
| 120 | ** --ssl-identity FILENAME Use the SSL identity if requested by the server |
| 121 | ** -u|--unversioned Also sync unversioned content |
| 122 | ** -v|--verbose Show more statistics in output |
| 123 | ** |
| @@ -133,11 +133,11 @@ | |
| 133 | int noCompress = find_option("nocompress",0,0)!=0; |
| 134 | |
| 135 | /* Also clone private branches */ |
| 136 | if( find_option("private",0,0)!=0 ) syncFlags |= SYNC_PRIVATE; |
| 137 | if( find_option("once",0,0)!=0) urlFlags &= ~URL_REMEMBER; |
| 138 | if( find_option("save-http-password",0,0)!=0 ){ |
| 139 | urlFlags &= ~URL_PROMPT_PW; |
| 140 | urlFlags |= URL_REMEMBER_PW; |
| 141 | } |
| 142 | if( find_option("verbose","v",0)!=0) syncFlags |= SYNC_VERBOSE; |
| 143 | if( find_option("unversioned","u",0)!=0 ) syncFlags |= SYNC_UNVERSIONED; |
| 144 |