Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Improvement to the error message issued when the HOME environment variable is missing. Ticket [e3c34af10dd28] |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
e00a5de0f143bb7dad565e11f646f87b |
| User & Date: | drh 2009-08-01 14:34:24.000 |
References
|
2009-08-01
| ||
| 14:35 | • Fixed ticket [e3c34af10d]: can't run fossil clone command when not at tty plus 2 other changes artifact: 2454c2fa81 user: drh | |
Context
|
2009-08-08
| ||
| 22:40 | Provide --user-override option on the ci command and the --date-override option on the new command. Make a correction to the file format document. check-in: 8b630bb57a user: drh tags: trunk | |
|
2009-08-01
| ||
| 14:34 | Improvement to the error message issued when the HOME environment variable is missing. Ticket [e3c34af10dd28] check-in: e00a5de0f1 user: drh tags: trunk | |
| 14:23 | Add the new remote-url command for managing the default server URL. Ticket [c24e486b05]. check-in: a2cbedcb1f user: drh tags: trunk | |
Changes
Changes to src/checkout.c.
| ︙ | ︙ | |||
177 178 179 180 181 182 183 |
}
if( latestFlag ){
compute_leaves(db_lget_int("checkout",0), 1);
zVers = db_text(0, "SELECT uuid FROM leaves, event, blob"
" WHERE event.objid=leaves.rid AND blob.rid=leaves.rid"
" ORDER BY event.mtime DESC");
if( zVers==0 ){
| | | 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
}
if( latestFlag ){
compute_leaves(db_lget_int("checkout",0), 1);
zVers = db_text(0, "SELECT uuid FROM leaves, event, blob"
" WHERE event.objid=leaves.rid AND blob.rid=leaves.rid"
" ORDER BY event.mtime DESC");
if( zVers==0 ){
fossil_fatal("cannot locate \"latest\" checkout");
}
}else{
zVers = g.argv[2];
}
vid = load_vfile(zVers);
if( prior==vid ){
return;
|
| ︙ | ︙ |
Changes to src/db.c.
| ︙ | ︙ | |||
654 655 656 657 658 659 660 661 662 |
zHome = getenv("LOCALAPPDATA");
if( zHome==0 ){
zHome = getenv("APPDATA");
if( zHome==0 ){
zHome = getenv("HOMEPATH");
}
}
#else
zHome = getenv("HOME");
| > > > > < | > > | 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 |
zHome = getenv("LOCALAPPDATA");
if( zHome==0 ){
zHome = getenv("APPDATA");
if( zHome==0 ){
zHome = getenv("HOMEPATH");
}
}
if( zHome==0 ){
db_err("cannot locate home directory - "
"please set the HOMEPATH environment variable");
}
#else
zHome = getenv("HOME");
if( zHome==0 ){
db_err("cannot locate home directory - "
"please set the HOME environment variable");
}
#endif
#ifdef __MINGW32__
/* . filenames give some window systems problems and many apps problems */
zDbName = mprintf("%//_fossil", zHome);
#else
zDbName = mprintf("%s/.fossil", zHome);
#endif
if( file_size(zDbName)<1024*3 ){
|
| ︙ | ︙ |