Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | One more minor change to the fix of ff4c, set the current checkout to 1 if this is a brand new file. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
746a0b8588547d256f913d412eed6325 |
| User & Date: | jnc 2007-09-23 23:05:42.000 |
Context
|
2007-09-24
| ||
| 01:38 | Some elements moved to correct order in wiki AllowedMarkup array. Removed hardcoded link in resolveHyperlink and also made it handle outside links, such as http, ftp, mailto, etc... When looking for valid HTML codes, I changed isalpha to isalnum so that H1, H2, etc... would be recognized. Better code for setting inital checkout db entry. check-in: 55dc2abc60 user: jnc tags: trunk | |
|
2007-09-23
| ||
| 23:05 | One more minor change to the fix of ff4c, set the current checkout to 1 if this is a brand new file. check-in: 746a0b8588 user: jnc tags: trunk | |
| 22:27 | Fixed bug in open_cmd. As of ff4c, open now runs update --latest as well, which would err on a brand new, blank, database. open_cmd now only runs update --latest if the current pid != 0 check-in: 4dc622f36c user: jnc tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
886 887 888 889 890 891 892 |
db_open_repository(blob_str(&path));
db_init_database("./_FOSSIL_", zLocalSchema, (char*)0);
db_open_local();
db_lset("repository", blob_str(&path));
vid = db_int(0, "SELECT pid FROM plink y"
" WHERE NOT EXISTS(SELECT 1 FROM plink x WHERE x.cid=y.pid)");
db_lset_int("checkout", vid);
| | > > | 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 |
db_open_repository(blob_str(&path));
db_init_database("./_FOSSIL_", zLocalSchema, (char*)0);
db_open_local();
db_lset("repository", blob_str(&path));
vid = db_int(0, "SELECT pid FROM plink y"
" WHERE NOT EXISTS(SELECT 1 FROM plink x WHERE x.cid=y.pid)");
db_lset_int("checkout", vid);
if( vid==0 ){
db_lset_int("checkout", 1);
}else{
g.argv = azNewArgv;
g.argc = 3;
update_cmd();
}
}
/*
|
| ︙ | ︙ |