Fossil SCM
Add a note to 'fossil uv' help that sync requires 'y' permissions on the remote.
Commit
2eef3acda352c7fd3fd63c265fb1ce23a85950dba9d73d5dbbabefc71c8611dd
Parent
4e688dc0f9fe816…
1 file changed
+2
-1
+2
-1
| --- src/unversioned.c | ||
| +++ src/unversioned.c | ||
| @@ -280,10 +280,11 @@ | ||
| 280 | 280 | ** |
| 281 | 281 | ** sync ?URL? Synchronize the state of all unversioned files with |
| 282 | 282 | ** the remote repository URL. The most recent version |
| 283 | 283 | ** of each file is propagated to all repositories and |
| 284 | 284 | ** all prior versions are permanently forgotten. |
| 285 | +** The remote account requires the 'y' capability. | |
| 285 | 286 | ** |
| 286 | 287 | ** Options: |
| 287 | 288 | ** -v|--verbose Extra diagnostic output |
| 288 | 289 | ** -n|--dry-run Show what would have happened |
| 289 | 290 | ** |
| @@ -464,11 +465,11 @@ | ||
| 464 | 465 | } |
| 465 | 466 | } |
| 466 | 467 | db_finalize(&q); |
| 467 | 468 | sqlite3_free(zPattern); |
| 468 | 469 | }else if( memcmp(zCmd, "revert", nCmd)==0 ){ |
| 469 | - unsigned syncFlags = | |
| 470 | + unsigned syncFlags = | |
| 470 | 471 | unversioned_sync_flags(SYNC_UNVERSIONED|SYNC_UV_REVERT); |
| 471 | 472 | g.argv[1] = "sync"; |
| 472 | 473 | g.argv[2] = "--uv-noop"; |
| 473 | 474 | sync_unversioned(syncFlags); |
| 474 | 475 | }else if( memcmp(zCmd, "remove", nCmd)==0 || memcmp(zCmd, "rm", nCmd)==0 |
| 475 | 476 |
| --- src/unversioned.c | |
| +++ src/unversioned.c | |
| @@ -280,10 +280,11 @@ | |
| 280 | ** |
| 281 | ** sync ?URL? Synchronize the state of all unversioned files with |
| 282 | ** the remote repository URL. The most recent version |
| 283 | ** of each file is propagated to all repositories and |
| 284 | ** all prior versions are permanently forgotten. |
| 285 | ** |
| 286 | ** Options: |
| 287 | ** -v|--verbose Extra diagnostic output |
| 288 | ** -n|--dry-run Show what would have happened |
| 289 | ** |
| @@ -464,11 +465,11 @@ | |
| 464 | } |
| 465 | } |
| 466 | db_finalize(&q); |
| 467 | sqlite3_free(zPattern); |
| 468 | }else if( memcmp(zCmd, "revert", nCmd)==0 ){ |
| 469 | unsigned syncFlags = |
| 470 | unversioned_sync_flags(SYNC_UNVERSIONED|SYNC_UV_REVERT); |
| 471 | g.argv[1] = "sync"; |
| 472 | g.argv[2] = "--uv-noop"; |
| 473 | sync_unversioned(syncFlags); |
| 474 | }else if( memcmp(zCmd, "remove", nCmd)==0 || memcmp(zCmd, "rm", nCmd)==0 |
| 475 |
| --- src/unversioned.c | |
| +++ src/unversioned.c | |
| @@ -280,10 +280,11 @@ | |
| 280 | ** |
| 281 | ** sync ?URL? Synchronize the state of all unversioned files with |
| 282 | ** the remote repository URL. The most recent version |
| 283 | ** of each file is propagated to all repositories and |
| 284 | ** all prior versions are permanently forgotten. |
| 285 | ** The remote account requires the 'y' capability. |
| 286 | ** |
| 287 | ** Options: |
| 288 | ** -v|--verbose Extra diagnostic output |
| 289 | ** -n|--dry-run Show what would have happened |
| 290 | ** |
| @@ -464,11 +465,11 @@ | |
| 465 | } |
| 466 | } |
| 467 | db_finalize(&q); |
| 468 | sqlite3_free(zPattern); |
| 469 | }else if( memcmp(zCmd, "revert", nCmd)==0 ){ |
| 470 | unsigned syncFlags = |
| 471 | unversioned_sync_flags(SYNC_UNVERSIONED|SYNC_UV_REVERT); |
| 472 | g.argv[1] = "sync"; |
| 473 | g.argv[2] = "--uv-noop"; |
| 474 | sync_unversioned(syncFlags); |
| 475 | }else if( memcmp(zCmd, "remove", nCmd)==0 || memcmp(zCmd, "rm", nCmd)==0 |
| 476 |