Fossil SCM

Change the "reparent" command so that it only works within an open checkout. Documentation improvements, especially add documentation to about the FOSSIL_SECURITY_LEVEL environment variable.

drh 2019-01-27 19:19 trunk merge
Commit d168be0cacd3169bf1cde0158fa9ec644a35cb1a19d4fe5a8c525ca21b3a5793
+1 -1
--- src/content.c
+++ src/content.c
@@ -1218,11 +1218,11 @@
12181218
**
12191219
** WARNING: You must run "fossil rebuild" after this command to rebuild
12201220
** the metadata.
12211221
**
12221222
** Note that the arguments are the integer raw RID values from the BLOB table,
1223
-** not artifact hashs or labels.
1223
+** not artifact hashes or labels.
12241224
*/
12251225
void test_content_erase(void){
12261226
int i;
12271227
Blob x;
12281228
char c;
12291229
--- src/content.c
+++ src/content.c
@@ -1218,11 +1218,11 @@
1218 **
1219 ** WARNING: You must run "fossil rebuild" after this command to rebuild
1220 ** the metadata.
1221 **
1222 ** Note that the arguments are the integer raw RID values from the BLOB table,
1223 ** not artifact hashs or labels.
1224 */
1225 void test_content_erase(void){
1226 int i;
1227 Blob x;
1228 char c;
1229
--- src/content.c
+++ src/content.c
@@ -1218,11 +1218,11 @@
1218 **
1219 ** WARNING: You must run "fossil rebuild" after this command to rebuild
1220 ** the metadata.
1221 **
1222 ** Note that the arguments are the integer raw RID values from the BLOB table,
1223 ** not artifact hashes or labels.
1224 */
1225 void test_content_erase(void){
1226 int i;
1227 Blob x;
1228 char c;
1229
+1 -1
--- src/tag.c
+++ src/tag.c
@@ -633,14 +633,14 @@
633633
char *zUuid;
634634
int dryRun = 0;
635635
const char *zDateOvrd; /* The change time on the control artifact */
636636
const char *zUserOvrd; /* The user name on the control artifact */
637637
638
+ db_must_be_within_tree();
638639
if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
639640
zDateOvrd = find_option("date-override",0,1);
640641
zUserOvrd = find_option("user-override",0,1);
641
- db_find_and_open_repository(0, 0);
642642
verify_all_options();
643643
if( g.argc<4 ){
644644
usage("[OPTIONS] CHECK-IN PARENT ...");
645645
}
646646
rid = name_to_typed_rid(g.argv[2], "ci");
647647
--- src/tag.c
+++ src/tag.c
@@ -633,14 +633,14 @@
633 char *zUuid;
634 int dryRun = 0;
635 const char *zDateOvrd; /* The change time on the control artifact */
636 const char *zUserOvrd; /* The user name on the control artifact */
637
 
638 if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
639 zDateOvrd = find_option("date-override",0,1);
640 zUserOvrd = find_option("user-override",0,1);
641 db_find_and_open_repository(0, 0);
642 verify_all_options();
643 if( g.argc<4 ){
644 usage("[OPTIONS] CHECK-IN PARENT ...");
645 }
646 rid = name_to_typed_rid(g.argv[2], "ci");
647
--- src/tag.c
+++ src/tag.c
@@ -633,14 +633,14 @@
633 char *zUuid;
634 int dryRun = 0;
635 const char *zDateOvrd; /* The change time on the control artifact */
636 const char *zUserOvrd; /* The user name on the control artifact */
637
638 db_must_be_within_tree();
639 if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
640 zDateOvrd = find_option("date-override",0,1);
641 zUserOvrd = find_option("user-override",0,1);
 
642 verify_all_options();
643 if( g.argc<4 ){
644 usage("[OPTIONS] CHECK-IN PARENT ...");
645 }
646 rid = name_to_typed_rid(g.argv[2], "ci");
647
+1 -1
--- src/tag.c
+++ src/tag.c
@@ -633,14 +633,14 @@
633633
char *zUuid;
634634
int dryRun = 0;
635635
const char *zDateOvrd; /* The change time on the control artifact */
636636
const char *zUserOvrd; /* The user name on the control artifact */
637637
638
+ db_must_be_within_tree();
638639
if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
639640
zDateOvrd = find_option("date-override",0,1);
640641
zUserOvrd = find_option("user-override",0,1);
641
- db_find_and_open_repository(0, 0);
642642
verify_all_options();
643643
if( g.argc<4 ){
644644
usage("[OPTIONS] CHECK-IN PARENT ...");
645645
}
646646
rid = name_to_typed_rid(g.argv[2], "ci");
647647
--- src/tag.c
+++ src/tag.c
@@ -633,14 +633,14 @@
633 char *zUuid;
634 int dryRun = 0;
635 const char *zDateOvrd; /* The change time on the control artifact */
636 const char *zUserOvrd; /* The user name on the control artifact */
637
 
638 if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
639 zDateOvrd = find_option("date-override",0,1);
640 zUserOvrd = find_option("user-override",0,1);
641 db_find_and_open_repository(0, 0);
642 verify_all_options();
643 if( g.argc<4 ){
644 usage("[OPTIONS] CHECK-IN PARENT ...");
645 }
646 rid = name_to_typed_rid(g.argv[2], "ci");
647
--- src/tag.c
+++ src/tag.c
@@ -633,14 +633,14 @@
633 char *zUuid;
634 int dryRun = 0;
635 const char *zDateOvrd; /* The change time on the control artifact */
636 const char *zUserOvrd; /* The user name on the control artifact */
637
638 db_must_be_within_tree();
639 if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
640 zDateOvrd = find_option("date-override",0,1);
641 zUserOvrd = find_option("user-override",0,1);
 
642 verify_all_options();
643 if( g.argc<4 ){
644 usage("[OPTIONS] CHECK-IN PARENT ...");
645 }
646 rid = name_to_typed_rid(g.argv[2], "ci");
647
--- www/env-opts.md
+++ www/env-opts.md
@@ -156,10 +156,22 @@
156156
or global `default-user` setting is not present. The first environment
157157
variable found in the environment from the list `FOSSIL_USER`, `USER`,
158158
`LOGNAME`, and `USERNAME` is the user name. If none of those are set,
159159
then the default user name is "root". See the discussion of Fossil
160160
Username below for a lot more detail.
161
+
162
+
163
+`FOSSIL_SECURITY_LEVEL`: If set to any of the values listed below,
164
+additional measures for password security will be enabled (also see
165
+[How To Use Encrypted Repositories][encryptedrepos.wiki]):
166
+
167
+[encryptedrepos.wiki]: /doc/trunk/www/encryptedrepos.wiki
168
+
169
+ * _≥1_ &mdash; Do not remember passwords.
170
+
171
+ * _≥2_ &mdash; Use a scrambled matrix for password input.
172
+
161173
162174
`FOSSIL_TCL_PATH`: When Tcl stubs support is configured, point to a
163175
specific file or folder containing the version of Tcl to load at run
164176
time.
165177
166178
--- www/env-opts.md
+++ www/env-opts.md
@@ -156,10 +156,22 @@
156 or global `default-user` setting is not present. The first environment
157 variable found in the environment from the list `FOSSIL_USER`, `USER`,
158 `LOGNAME`, and `USERNAME` is the user name. If none of those are set,
159 then the default user name is "root". See the discussion of Fossil
160 Username below for a lot more detail.
 
 
 
 
 
 
 
 
 
 
 
 
161
162 `FOSSIL_TCL_PATH`: When Tcl stubs support is configured, point to a
163 specific file or folder containing the version of Tcl to load at run
164 time.
165
166
--- www/env-opts.md
+++ www/env-opts.md
@@ -156,10 +156,22 @@
156 or global `default-user` setting is not present. The first environment
157 variable found in the environment from the list `FOSSIL_USER`, `USER`,
158 `LOGNAME`, and `USERNAME` is the user name. If none of those are set,
159 then the default user name is "root". See the discussion of Fossil
160 Username below for a lot more detail.
161
162
163 `FOSSIL_SECURITY_LEVEL`: If set to any of the values listed below,
164 additional measures for password security will be enabled (also see
165 [How To Use Encrypted Repositories][encryptedrepos.wiki]):
166
167 [encryptedrepos.wiki]: /doc/trunk/www/encryptedrepos.wiki
168
169 * _≥1_ &mdash; Do not remember passwords.
170
171 * _≥2_ &mdash; Use a scrambled matrix for password input.
172
173
174 `FOSSIL_TCL_PATH`: When Tcl stubs support is configured, point to a
175 specific file or folder containing the version of Tcl to load at run
176 time.
177
178
--- www/env-opts.md
+++ www/env-opts.md
@@ -156,10 +156,22 @@
156156
or global `default-user` setting is not present. The first environment
157157
variable found in the environment from the list `FOSSIL_USER`, `USER`,
158158
`LOGNAME`, and `USERNAME` is the user name. If none of those are set,
159159
then the default user name is "root". See the discussion of Fossil
160160
Username below for a lot more detail.
161
+
162
+
163
+`FOSSIL_SECURITY_LEVEL`: If set to any of the values listed below,
164
+additional measures for password security will be enabled (also see
165
+[How To Use Encrypted Repositories][encryptedrepos.wiki]):
166
+
167
+[encryptedrepos.wiki]: /doc/trunk/www/encryptedrepos.wiki
168
+
169
+ * _≥1_ &mdash; Do not remember passwords.
170
+
171
+ * _≥2_ &mdash; Use a scrambled matrix for password input.
172
+
161173
162174
`FOSSIL_TCL_PATH`: When Tcl stubs support is configured, point to a
163175
specific file or folder containing the version of Tcl to load at run
164176
time.
165177
166178
--- www/env-opts.md
+++ www/env-opts.md
@@ -156,10 +156,22 @@
156 or global `default-user` setting is not present. The first environment
157 variable found in the environment from the list `FOSSIL_USER`, `USER`,
158 `LOGNAME`, and `USERNAME` is the user name. If none of those are set,
159 then the default user name is "root". See the discussion of Fossil
160 Username below for a lot more detail.
 
 
 
 
 
 
 
 
 
 
 
 
161
162 `FOSSIL_TCL_PATH`: When Tcl stubs support is configured, point to a
163 specific file or folder containing the version of Tcl to load at run
164 time.
165
166
--- www/env-opts.md
+++ www/env-opts.md
@@ -156,10 +156,22 @@
156 or global `default-user` setting is not present. The first environment
157 variable found in the environment from the list `FOSSIL_USER`, `USER`,
158 `LOGNAME`, and `USERNAME` is the user name. If none of those are set,
159 then the default user name is "root". See the discussion of Fossil
160 Username below for a lot more detail.
161
162
163 `FOSSIL_SECURITY_LEVEL`: If set to any of the values listed below,
164 additional measures for password security will be enabled (also see
165 [How To Use Encrypted Repositories][encryptedrepos.wiki]):
166
167 [encryptedrepos.wiki]: /doc/trunk/www/encryptedrepos.wiki
168
169 * _≥1_ &mdash; Do not remember passwords.
170
171 * _≥2_ &mdash; Use a scrambled matrix for password input.
172
173
174 `FOSSIL_TCL_PATH`: When Tcl stubs support is configured, point to a
175 specific file or folder containing the version of Tcl to load at run
176 time.
177
178

Keyboard Shortcuts

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