Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Second half of the tarball fix (CLI mode, i missed that one). |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b79d2b77fe9c7218c856f3dacee55c27 |
User & Date: | stephan 2012-04-11 16:33:51.014 |
Context
2012-04-11
| ||
16:37 | Sorry - failed to tap ctrl-x s before that last commit :/. ... (check-in: ad162862 user: stephan tags: trunk) | |
16:33 | Second half of the tarball fix (CLI mode, i missed that one). ... (check-in: b79d2b77 user: stephan tags: trunk) | |
16:28 | Fixed: /tarball accepted non-checkin rids (but of course could not generate a tarfile from them). Bug report from Justin Gedge on the mailing list. ... (check-in: f982e376 user: stephan tags: trunk) | |
Changes
Changes to src/tar.c.
︙ | ︙ | |||
540 541 542 543 544 545 546 | Blob tarball; const char *zName; zName = find_option("name", 0, 1); db_find_and_open_repository(0, 0); if( g.argc!=4 ){ usage("VERSION OUTPUTFILE"); } | | > > > > > | 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 | Blob tarball; const char *zName; zName = find_option("name", 0, 1); db_find_and_open_repository(0, 0); if( g.argc!=4 ){ usage("VERSION OUTPUTFILE"); } rid = name_to_typed_rid(g.argv[3], "ci"); if( rid==0 ){ fossil_fatal("Checkin not found: %s", g.argv[2]); return; } if( zName==0 ){ zName = db_text("default-name", "SELECT replace(%Q,' ','_') " " || strftime('_%%Y-%%m-%%d_%%H%%M%%S_', event.mtime) " " || substr(blob.uuid, 1, 10)" " FROM event, blob" " WHERE event.objid=%d" |
︙ | ︙ |