Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix to the new autopush privilege warning logic. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
92406fa4454ffed0e93b782c4efae812 |
| User & Date: | drh 2019-04-17 19:40:36.684 |
Context
|
2019-04-18
| ||
| 12:06 | On the /artifact page, only show the "Line Numbers" checkbox if the artifact is displayed as text/plain. check-in: 40c40f7fe6 user: drh tags: trunk | |
| 00:00 | Only remember a new URL for permanent redirects. Closed-Leaf check-in: b36783e89b user: mistachkin tags: httpRedir | |
|
2019-04-17
| ||
| 19:40 | Fix to the new autopush privilege warning logic. check-in: 92406fa445 user: drh tags: trunk | |
| 19:22 | Update the built-in SQLite to version 3.28.0. check-in: 14db745dfe user: drh tags: trunk | |
Changes
Changes to src/xfer.c.
| ︙ | ︙ | |||
2288 2289 2290 2291 2292 2293 2294 |
**
** Also ignore "not authorized to write" errors if this is an
** autopush following a commit.
*/
if( blob_eq(&xfer.aToken[0],"error") && xfer.nToken==2 ){
char *zMsg = blob_terminate(&xfer.aToken[1]);
defossilize(zMsg);
| | | 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 |
**
** Also ignore "not authorized to write" errors if this is an
** autopush following a commit.
*/
if( blob_eq(&xfer.aToken[0],"error") && xfer.nToken==2 ){
char *zMsg = blob_terminate(&xfer.aToken[1]);
defossilize(zMsg);
if( (syncFlags & SYNC_IFABLE)!=0
&& sqlite3_strlike("%not authorized to write%",zMsg,0)==0 ){
autopushFailed = 1;
nErr++;
}else if( (syncFlags & SYNC_CLONE)==0 || nCycle>0 ){
fossil_force_newline();
fossil_print("Error: %s\n", zMsg);
blob_appendf(&xfer.err, "server says: %s\n", zMsg);
|
| ︙ | ︙ |