Fossil SCM
Further enhancements to the on-line help for the "fossil uv add" command in an effort to clear up confusion.
Commit
66815ed3901570d055179c78228123f467670e3b4777f9bd171c17cb7c91a9a3
Parent
c670925e00e71b7…
1 file changed
+44
-39
+44
-39
| --- src/unversioned.c | ||
| +++ src/unversioned.c | ||
| @@ -218,54 +218,59 @@ | ||
| 218 | 218 | ** of each UV-file is retained. Changes to an UV-file are permanent and cannot |
| 219 | 219 | ** be undone, so use appropriate caution with this command. |
| 220 | 220 | ** |
| 221 | 221 | ** Subcommands: |
| 222 | 222 | ** |
| 223 | -** add FILE ... Add or update unversioned files in the local | |
| 224 | -** repository so that they match FILEs on disk. | |
| 225 | -** Use "--as UVFILE" to give the file a different name | |
| 226 | -** in the repository than what it called on disk. | |
| 227 | -** Changes are not pushed to other repositories until | |
| 228 | -** the next sync. | |
| 229 | -** | |
| 230 | -** cat FILE ... Concatenate the content of FILEs to stdout. | |
| 231 | -** | |
| 232 | -** edit FILE Bring up FILE in a text editor for modification. | |
| 233 | -** | |
| 234 | -** export FILE OUTPUT Write the content of FILE into OUTPUT on disk | |
| 235 | -** | |
| 236 | -** list | ls Show all unversioned files held in the local | |
| 237 | -** repository. | |
| 238 | -** | |
| 239 | -** revert ?URL? Restore the state of all unversioned files in the | |
| 240 | -** local repository to match the remote repository | |
| 241 | -** URL. | |
| 242 | -** | |
| 243 | -** Options: | |
| 244 | -** -v|--verbose Extra diagnostic output | |
| 245 | -** -n|--dryrun Show what would have happened | |
| 223 | +** add FILE ... Add or update one or more unversioned files in | |
| 224 | +** the local repository so that they match FILEs | |
| 225 | +** on disk. Changes are not pushed to other | |
| 226 | +** repositories until the next sync. | |
| 227 | +** | |
| 228 | +** add FILE --as UVFILE Add or update a single file named FILE on disk | |
| 229 | +** and UVFILE in the repository unversioned file | |
| 230 | +** namespace. This variant of the 'add' command allows | |
| 231 | +** the name to be different in the repository versus | |
| 232 | +** what appears on disk, but it only allows adding | |
| 233 | +** a single file at a time. | |
| 234 | +** | |
| 235 | +** cat FILE ... Concatenate the content of FILEs to stdout. | |
| 236 | +** | |
| 237 | +** edit FILE Bring up FILE in a text editor for modification. | |
| 238 | +** | |
| 239 | +** export FILE OUTPUT Write the content of FILE into OUTPUT on disk | |
| 240 | +** | |
| 241 | +** list | ls Show all unversioned files held in the local | |
| 242 | +** repository. | |
| 243 | +** | |
| 244 | +** revert ?URL? Restore the state of all unversioned files in the | |
| 245 | +** local repository to match the remote repository | |
| 246 | +** URL. | |
| 247 | +** | |
| 248 | +** Options: | |
| 249 | +** -v|--verbose Extra diagnostic output | |
| 250 | +** -n|--dryrun Show what would have happened | |
| 246 | 251 | ** |
| 247 | 252 | ** remove|rm|delete FILE ... |
| 248 | -** Remove unversioned files from the local repository. | |
| 249 | -** Changes are not pushed to other repositories until | |
| 250 | -** the next sync. | |
| 251 | -** | |
| 252 | -** sync ?URL? Synchronize the state of all unversioned files with | |
| 253 | -** the remote repository URL. The most recent version | |
| 254 | -** of each file is propagated to all repositories and | |
| 255 | -** all prior versions are permanently forgotten. | |
| 256 | -** | |
| 257 | -** Options: | |
| 258 | -** -v|--verbose Extra diagnostic output | |
| 259 | -** -n|--dryrun Show what would have happened | |
| 260 | -** | |
| 261 | -** touch FILE ... Update the TIMESTAMP on all of the listed files | |
| 253 | +** Remove unversioned files from the local repository. | |
| 254 | +** Changes are not pushed to other repositories until | |
| 255 | +** the next sync. | |
| 256 | +** | |
| 257 | +** sync ?URL? Synchronize the state of all unversioned files with | |
| 258 | +** the remote repository URL. The most recent version | |
| 259 | +** of each file is propagated to all repositories and | |
| 260 | +** all prior versions are permanently forgotten. | |
| 261 | +** | |
| 262 | +** Options: | |
| 263 | +** -v|--verbose Extra diagnostic output | |
| 264 | +** -n|--dryrun Show what would have happened | |
| 265 | +** | |
| 266 | +** touch FILE ... Update the TIMESTAMP on all of the listed files | |
| 262 | 267 | ** |
| 263 | 268 | ** Options: |
| 264 | 269 | ** |
| 265 | -** --mtime TIMESTAMP Use TIMESTAMP instead of "now" for the "add", | |
| 266 | -** "edit", "remove", and "touch" subcommands. | |
| 270 | +** --mtime TIMESTAMP Use TIMESTAMP instead of "now" for the "add", | |
| 271 | +** "edit", "remove", and "touch" subcommands. | |
| 267 | 272 | */ |
| 268 | 273 | void unversioned_cmd(void){ |
| 269 | 274 | const char *zCmd; |
| 270 | 275 | int nCmd; |
| 271 | 276 | const char *zMtime = find_option("mtime", 0, 1); |
| 272 | 277 |
| --- src/unversioned.c | |
| +++ src/unversioned.c | |
| @@ -218,54 +218,59 @@ | |
| 218 | ** of each UV-file is retained. Changes to an UV-file are permanent and cannot |
| 219 | ** be undone, so use appropriate caution with this command. |
| 220 | ** |
| 221 | ** Subcommands: |
| 222 | ** |
| 223 | ** add FILE ... Add or update unversioned files in the local |
| 224 | ** repository so that they match FILEs on disk. |
| 225 | ** Use "--as UVFILE" to give the file a different name |
| 226 | ** in the repository than what it called on disk. |
| 227 | ** Changes are not pushed to other repositories until |
| 228 | ** the next sync. |
| 229 | ** |
| 230 | ** cat FILE ... Concatenate the content of FILEs to stdout. |
| 231 | ** |
| 232 | ** edit FILE Bring up FILE in a text editor for modification. |
| 233 | ** |
| 234 | ** export FILE OUTPUT Write the content of FILE into OUTPUT on disk |
| 235 | ** |
| 236 | ** list | ls Show all unversioned files held in the local |
| 237 | ** repository. |
| 238 | ** |
| 239 | ** revert ?URL? Restore the state of all unversioned files in the |
| 240 | ** local repository to match the remote repository |
| 241 | ** URL. |
| 242 | ** |
| 243 | ** Options: |
| 244 | ** -v|--verbose Extra diagnostic output |
| 245 | ** -n|--dryrun Show what would have happened |
| 246 | ** |
| 247 | ** remove|rm|delete FILE ... |
| 248 | ** Remove unversioned files from the local repository. |
| 249 | ** Changes are not pushed to other repositories until |
| 250 | ** the next sync. |
| 251 | ** |
| 252 | ** sync ?URL? Synchronize the state of all unversioned files with |
| 253 | ** the remote repository URL. The most recent version |
| 254 | ** of each file is propagated to all repositories and |
| 255 | ** all prior versions are permanently forgotten. |
| 256 | ** |
| 257 | ** Options: |
| 258 | ** -v|--verbose Extra diagnostic output |
| 259 | ** -n|--dryrun Show what would have happened |
| 260 | ** |
| 261 | ** touch FILE ... Update the TIMESTAMP on all of the listed files |
| 262 | ** |
| 263 | ** Options: |
| 264 | ** |
| 265 | ** --mtime TIMESTAMP Use TIMESTAMP instead of "now" for the "add", |
| 266 | ** "edit", "remove", and "touch" subcommands. |
| 267 | */ |
| 268 | void unversioned_cmd(void){ |
| 269 | const char *zCmd; |
| 270 | int nCmd; |
| 271 | const char *zMtime = find_option("mtime", 0, 1); |
| 272 |
| --- src/unversioned.c | |
| +++ src/unversioned.c | |
| @@ -218,54 +218,59 @@ | |
| 218 | ** of each UV-file is retained. Changes to an UV-file are permanent and cannot |
| 219 | ** be undone, so use appropriate caution with this command. |
| 220 | ** |
| 221 | ** Subcommands: |
| 222 | ** |
| 223 | ** add FILE ... Add or update one or more unversioned files in |
| 224 | ** the local repository so that they match FILEs |
| 225 | ** on disk. Changes are not pushed to other |
| 226 | ** repositories until the next sync. |
| 227 | ** |
| 228 | ** add FILE --as UVFILE Add or update a single file named FILE on disk |
| 229 | ** and UVFILE in the repository unversioned file |
| 230 | ** namespace. This variant of the 'add' command allows |
| 231 | ** the name to be different in the repository versus |
| 232 | ** what appears on disk, but it only allows adding |
| 233 | ** a single file at a time. |
| 234 | ** |
| 235 | ** cat FILE ... Concatenate the content of FILEs to stdout. |
| 236 | ** |
| 237 | ** edit FILE Bring up FILE in a text editor for modification. |
| 238 | ** |
| 239 | ** export FILE OUTPUT Write the content of FILE into OUTPUT on disk |
| 240 | ** |
| 241 | ** list | ls Show all unversioned files held in the local |
| 242 | ** repository. |
| 243 | ** |
| 244 | ** revert ?URL? Restore the state of all unversioned files in the |
| 245 | ** local repository to match the remote repository |
| 246 | ** URL. |
| 247 | ** |
| 248 | ** Options: |
| 249 | ** -v|--verbose Extra diagnostic output |
| 250 | ** -n|--dryrun Show what would have happened |
| 251 | ** |
| 252 | ** remove|rm|delete FILE ... |
| 253 | ** Remove unversioned files from the local repository. |
| 254 | ** Changes are not pushed to other repositories until |
| 255 | ** the next sync. |
| 256 | ** |
| 257 | ** sync ?URL? Synchronize the state of all unversioned files with |
| 258 | ** the remote repository URL. The most recent version |
| 259 | ** of each file is propagated to all repositories and |
| 260 | ** all prior versions are permanently forgotten. |
| 261 | ** |
| 262 | ** Options: |
| 263 | ** -v|--verbose Extra diagnostic output |
| 264 | ** -n|--dryrun Show what would have happened |
| 265 | ** |
| 266 | ** touch FILE ... Update the TIMESTAMP on all of the listed files |
| 267 | ** |
| 268 | ** Options: |
| 269 | ** |
| 270 | ** --mtime TIMESTAMP Use TIMESTAMP instead of "now" for the "add", |
| 271 | ** "edit", "remove", and "touch" subcommands. |
| 272 | */ |
| 273 | void unversioned_cmd(void){ |
| 274 | const char *zCmd; |
| 275 | int nCmd; |
| 276 | const char *zMtime = find_option("mtime", 0, 1); |
| 277 |