Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| SHA1 Hash: | b79d2b77fe9c7218c856f3dacee55c27739a3586 |
|---|---|
| Date: | 2012-04-11 16:33:51 |
| User: | stephan |
| Comment: | Second half of the tarball fix (CLI mode, i missed that one). |
Tags And Properties
- branch=trunk inherited from [bf1c21ba16]
- sym-trunk inherited from [bf1c21ba16]
Changes
Changes to src/tar.c
540 540 Blob tarball; 541 541 const char *zName; 542 542 zName = find_option("name", 0, 1); 543 543 db_find_and_open_repository(0, 0); 544 544 if( g.argc!=4 ){ 545 545 usage("VERSION OUTPUTFILE"); 546 546 } 547 - rid = name_to_typed_rid(g.argv[2], "ci"); 547 + rid = name_to_typed_rid(g.argv[3], "ci"); 548 + if( rid==0 ){ 549 + fossil_fatal("Checkin not found: %s", g.argv[2]); 550 + return; 551 + } 552 + 548 553 if( zName==0 ){ 549 554 zName = db_text("default-name", 550 555 "SELECT replace(%Q,' ','_') " 551 556 " || strftime('_%%Y-%%m-%%d_%%H%%M%%S_', event.mtime) " 552 557 " || substr(blob.uuid, 1, 10)" 553 558 " FROM event, blob" 554 559 " WHERE event.objid=%d"