Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Print an "Internal Error" if the update command is unable to find a version to update to. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
88e9f24affa25e315a2fb0667c40097e |
| User & Date: | drh 2011-05-21 16:45:50.086 |
Context
|
2011-05-21
| ||
| 16:57 | If at the tip of the current branch but there are children in other branches, the "fossil up" command should do nothing. check-in: 1343cfad7b user: drh tags: trunk | |
| 16:45 | Print an "Internal Error" if the update command is unable to find a version to update to. check-in: 88e9f24aff user: drh tags: trunk | |
|
2011-05-20
| ||
| 15:31 | Abstract the getcwd() system library routine into file_getcwd() with appropriate translations on windows. check-in: 4b3425401f user: drh tags: trunk | |
Changes
Changes to src/update.c.
| ︙ | ︙ | |||
174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
fossil_fatal("Multiple descendants");
}
}
tid = db_int(0, "SELECT rid FROM leaves, event"
" WHERE event.objid=leaves.rid"
" ORDER BY event.mtime DESC");
}
if( tid==vid && !verboseFlag ) return; /* Nothing to update */
db_begin_transaction();
vfile_check_signature(vid, 1, 0);
if( !nochangeFlag && !internalUpdate ) undo_begin();
load_vfile_from_rid(tid);
| > > > > | 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
fossil_fatal("Multiple descendants");
}
}
tid = db_int(0, "SELECT rid FROM leaves, event"
" WHERE event.objid=leaves.rid"
" ORDER BY event.mtime DESC");
}
if( tid==0 ){
fossil_panic("Internal Error: unable to find a version to update to.");
}
if( tid==vid && !verboseFlag ) return; /* Nothing to update */
db_begin_transaction();
vfile_check_signature(vid, 1, 0);
if( !nochangeFlag && !internalUpdate ) undo_begin();
load_vfile_from_rid(tid);
|
| ︙ | ︙ |