Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Only show the "pull only - not authorized to push" message once when syncing with a repo for which there is read-only permission. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | fix-sync-delta-loop |
| Files: | files | file ages | folders |
| SHA1: |
6cc262207d0d8a10b2bb078d2f8b918c |
| User & Date: | drh 2012-11-17 15:03:43.201 |
Context
|
2012-11-17
| ||
| 19:16 | Fix the server-side sync operation so that it will not generate a delta loop when a file changes from its original state through two or more intermediate states and back to its original state and all versions of the file attempt to sync in a single transaction. ... (check-in: e5b8eb1235 user: drh tags: trunk) | |
| 15:03 | Only show the "pull only - not authorized to push" message once when syncing with a repo for which there is read-only permission. ... (Closed-Leaf check-in: 6cc262207d user: drh tags: fix-sync-delta-loop) | |
|
2012-11-16
| ||
| 21:57 | Provisional changes aimed at preventing delta loops on sync operations that might otherwise occur if a sequence of file changes ends with a file back to its original state after a sequence of two or more intermediate states. ... (check-in: 141b990722 user: drh tags: fix-sync-delta-loop) | |
Changes
Changes to src/xfer.c.
| ︙ | ︙ | |||
1653 1654 1655 1656 1657 1658 1659 |
**
** If the "login failed" message is seen, clear the sync password prior
** to the next cycle.
*/
if( blob_eq(&xfer.aToken[0],"message") && xfer.nToken==2 ){
char *zMsg = blob_terminate(&xfer.aToken[1]);
defossilize(zMsg);
| > > > > | | 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 |
**
** If the "login failed" message is seen, clear the sync password prior
** to the next cycle.
*/
if( blob_eq(&xfer.aToken[0],"message") && xfer.nToken==2 ){
char *zMsg = blob_terminate(&xfer.aToken[1]);
defossilize(zMsg);
if( pushFlag && zMsg && strglob("pull only *", zMsg) ){
pushFlag = 0;
zMsg = 0;
}
fossil_print("\rServer says: %s\n", zMsg);
}else
/* pragma NAME VALUE...
**
** The server can send pragmas to try to convey meta-information to
** the client. These are informational only. Unknown pragmas are
** silently ignored.
|
| ︙ | ︙ |