Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | An attempt to get the --autopush option of "fossil git export" to work with ssh. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
cd212e80224a551031ac75d8d35744fe |
User & Date: | drh 2019-03-20 12:34:25.445 |
Context
2019-03-21
| ||
20:50 | Add the "New Era" or "元号" placeholder to the (regexp) Unicode tables. So fossil is ready for the expected japanese May 1 event. See: http://blog.unicode.org/2018/09/new-japanese-era.html ... (check-in: 9b679012 user: jan.nijtmans tags: trunk) | |
2019-03-20
| ||
12:34 | An attempt to get the --autopush option of "fossil git export" to work with ssh. ... (check-in: cd212e80 user: drh tags: trunk) | |
2019-03-18
| ||
19:27 | Show what "apt install" commands need to be run on a fresh Ubuntu install in order to build Fossil. ... (check-in: c2cfaa6a user: drh tags: trunk) | |
Changes
Changes to src/export.c.
︙ | ︙ | |||
1481 1482 1483 1484 1485 1486 1487 | } /* Optionally do a "git push" */ zPushUrl = db_text(0, "SELECT value FROM mconfig WHERE key='autopush'"); if( zPushUrl ){ char *zPushCmd; UrlData url; | > | | > > > | 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 | } /* Optionally do a "git push" */ zPushUrl = db_text(0, "SELECT value FROM mconfig WHERE key='autopush'"); if( zPushUrl ){ char *zPushCmd; UrlData url; if( sqlite3_strglob("http*", zPushUrl)==0 ){ url_parse_local(zPushUrl, 0, &url); zPushCmd = mprintf("git push --mirror %s", url.canonical); }else{ zPushCmd = mprintf("git push --mirror %s", zPushUrl); } gitmirror_message(VERB_NORMAL, "%s\n", zPushCmd); fossil_free(zPushCmd); zPushCmd = mprintf("git push --mirror %s", zPushUrl); fossil_system(zPushCmd); fossil_free(zPushCmd); } } |
︙ | ︙ |