| | @@ -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 it matches FILE 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 | |