Fossil SCM

Add a note to 'fossil uv' help that sync requires 'y' permissions on the remote.

stephan 2023-03-12 21:10 trunk
Commit 2eef3acda352c7fd3fd63c265fb1ce23a85950dba9d73d5dbbabefc71c8611dd
1 file changed +2 -1
--- src/unversioned.c
+++ src/unversioned.c
@@ -280,10 +280,11 @@
280280
**
281281
** sync ?URL? Synchronize the state of all unversioned files with
282282
** the remote repository URL. The most recent version
283283
** of each file is propagated to all repositories and
284284
** all prior versions are permanently forgotten.
285
+** The remote account requires the 'y' capability.
285286
**
286287
** Options:
287288
** -v|--verbose Extra diagnostic output
288289
** -n|--dry-run Show what would have happened
289290
**
@@ -464,11 +465,11 @@
464465
}
465466
}
466467
db_finalize(&q);
467468
sqlite3_free(zPattern);
468469
}else if( memcmp(zCmd, "revert", nCmd)==0 ){
469
- unsigned syncFlags =
470
+ unsigned syncFlags =
470471
unversioned_sync_flags(SYNC_UNVERSIONED|SYNC_UV_REVERT);
471472
g.argv[1] = "sync";
472473
g.argv[2] = "--uv-noop";
473474
sync_unversioned(syncFlags);
474475
}else if( memcmp(zCmd, "remove", nCmd)==0 || memcmp(zCmd, "rm", nCmd)==0
475476
--- 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

Keyboard Shortcuts

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