Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix an issue with the command-line timeline. Fix typos in documentation. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
e2431b17df0b3865fde767b35937e8cd |
| User & Date: | drh 2009-11-09 21:32:36.000 |
References
|
2009-11-11
| ||
| 14:59 | • New ticket [974618fe5a] fossil all rebuild does redundant rebuilds on windows. ... (artifact: 724d623b6e user: rwilson) | |
Context
|
2009-11-11
| ||
| 14:59 | Better error messages when "sync" fails due to server problems. Ticket [bfb8427cdd5] ... (check-in: 0690aa18a4 user: drh tags: trunk) | |
|
2009-11-09
| ||
| 21:32 | Fix an issue with the command-line timeline. Fix typos in documentation. ... (check-in: e2431b17df user: drh tags: trunk) | |
| 00:58 | On the "timeline" command, if a YYYY-MM-DD date string is entered without the "before" keyword, then show all changes on the date given. ... (check-in: 0239325f58 user: drh tags: trunk) | |
Changes
Changes to src/timeline.c.
| ︙ | ︙ | |||
949 950 951 952 953 954 955 956 957 958 959 |
}
objid = db_lget_int("checkout",0);
zDate = mprintf("(SELECT mtime FROM plink WHERE cid=%d)", objid);
}else if( name_to_uuid(&uuid, 0)==0 ){
objid = db_int(0, "SELECT rid FROM blob WHERE uuid=%B", &uuid);
zDate = mprintf("(SELECT mtime FROM plink WHERE cid=%d)", objid);
}else{
if( mode==3 || mode==4 ){
fossil_fatal("cannot compute descendants or ancestors of a date");
}
if( mode==0 ){
| > < | | > | 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 |
}
objid = db_lget_int("checkout",0);
zDate = mprintf("(SELECT mtime FROM plink WHERE cid=%d)", objid);
}else if( name_to_uuid(&uuid, 0)==0 ){
objid = db_int(0, "SELECT rid FROM blob WHERE uuid=%B", &uuid);
zDate = mprintf("(SELECT mtime FROM plink WHERE cid=%d)", objid);
}else{
const char *zShift = "";
if( mode==3 || mode==4 ){
fossil_fatal("cannot compute descendants or ancestors of a date");
}
if( mode==0 ){
if( isIsoDate(zOrigin) ) zShift = ",'+1 day'";
}
zDate = mprintf("(SELECT julianday(%Q%s, 'utc'))", zOrigin, zShift);
}
if( mode==0 ) mode = 1;
zSQL = mprintf("%z AND event.mtime %s %s",
timeline_query_for_tty_m(),
(mode==1 || mode==4) ? "<=" : ">=",
zDate
);
if( mode==3 || mode==4 ){
db_multi_exec("CREATE TEMP TABLE ok(rid INTEGER PRIMARY KEY)");
|
| ︙ | ︙ |
Changes to www/build.wiki.
| ︙ | ︙ | |||
38 39 40 41 42 43 44 | <li><p>On the version information page, click on the "[details]" hyperlink that appears right after the check-in comment at the top of the page.</p> <li><p>Finally, click on the "Zip Archive" link. This link will build a ZIP archive of the complete source code and download it to your browser. | < < < < < < < < < < < | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | <li><p>On the version information page, click on the "[details]" hyperlink that appears right after the check-in comment at the top of the page.</p> <li><p>Finally, click on the "Zip Archive" link. This link will build a ZIP archive of the complete source code and download it to your browser. </ol> <h2>2.0 Compiling</h2> <p>Follow these steps to compile:</p> <ol> |
| ︙ | ︙ |
Changes to www/quickstart.wiki.
| ︙ | ︙ | |||
221 222 223 224 225 226 227 |
<blockquote><b>
#!/usr/local/bin/fossil<br>
repository: /home/proj1/repos1.fossil
</b></blockquote>
<p>Adjust the paths in this CGI script to match your installation
| | | | | 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
<blockquote><b>
#!/usr/local/bin/fossil<br>
repository: /home/proj1/repos1.fossil
</b></blockquote>
<p>Adjust the paths in this CGI script to match your installation
and make sure both repository file and the directory that contains it
are readable and writable by the user that CGI scripts run as.
Then point clients at the CGI script. That's all there is to it!</p>
<a name="inetdserver"></a>
<p>You can also run fossil from inetd or xinetd. For an inetd
installation, make an entry in /etc/inetd.conf that looks something
like this:</p>
<blockquote><b>
80 stream tcp nowait.1000 root /usr/bin/fossil \<br>
/usr/bin/fossil http /home/proj1/repos1.fossil
</b></blockquote>
|
| ︙ | ︙ |