Fossil SCM

Rename the --save-password option on "fossil clone" to --save-http-password, since it only works for HTTP.

drh 2019-06-30 11:36 trunk
Commit 22517bab6c124e4b16bd64378722dd923f29b39ff183e361dfc2e4a6b2fb8ab6
1 file changed +2 -2
+2 -2
--- src/clone.c
+++ src/clone.c
@@ -113,11 +113,11 @@
113113
** --admin-user|-A USERNAME Make USERNAME the administrator
114114
** --httpauth|-B USER:PASS Add HTTP Basic Authorization to requests
115115
** --nocompress Omit extra delta compression
116116
** --once Don't remember the URI.
117117
** --private Also clone private branches
118
-** --save-password Remember the password without asking
118
+** --save-http-password Remember the HTTP password without asking
119119
** --ssh-command|-c SSH Use SSH as the "ssh" command
120120
** --ssl-identity FILENAME Use the SSL identity if requested by the server
121121
** -u|--unversioned Also sync unversioned content
122122
** -v|--verbose Show more statistics in output
123123
**
@@ -133,11 +133,11 @@
133133
int noCompress = find_option("nocompress",0,0)!=0;
134134
135135
/* Also clone private branches */
136136
if( find_option("private",0,0)!=0 ) syncFlags |= SYNC_PRIVATE;
137137
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 ){
139139
urlFlags &= ~URL_PROMPT_PW;
140140
urlFlags |= URL_REMEMBER_PW;
141141
}
142142
if( find_option("verbose","v",0)!=0) syncFlags |= SYNC_VERBOSE;
143143
if( find_option("unversioned","u",0)!=0 ) syncFlags |= SYNC_UNVERSIONED;
144144
--- 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

Keyboard Shortcuts

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