Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Allow checkout of versions that have neither ancestors nor children. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
4980b9a79638eeae73948acf3cf1d82d |
| User & Date: | drh 2010-09-09 13:57:50.000 |
Context
|
2010-09-12
| ||
| 15:12 | solves ticket [5e9f1b1cd8] check-in: 56fedab318 user: renez tags: trunk | |
|
2010-09-11
| ||
| 11:37 | Improvements to the "stat" page formatting. Closed-Leaf check-in: b41feab774 user: drh tags: trunk | |
|
2010-09-09
| ||
| 20:04 | merged trunk to branch check-in: ef6979eac9 user: wolfgang tags: wolfgangFormat2CSS | |
| 13:57 | Allow checkout of versions that have neither ancestors nor children. check-in: 4980b9a796 user: drh tags: trunk | |
| 10:31 | Merge in changes from the wolfgangFormat2CSS branch. check-in: 34f9b9de58 user: drh tags: trunk | |
Changes
Changes to src/update.c.
| ︙ | ︙ | |||
22 23 24 25 26 27 28 |
#include "update.h"
#include <assert.h>
/*
** Return true if artifact rid is a version
*/
int is_a_version(int rid){
| | < < | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
#include "update.h"
#include <assert.h>
/*
** Return true if artifact rid is a version
*/
int is_a_version(int rid){
return db_exists("SELECT 1 FROM event WHERE objid=%d AND type='ci'", rid);
}
/*
** COMMAND: update
**
** Usage: %fossil update ?VERSION? ?FILES...?
**
|
| ︙ | ︙ |