637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
|
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
|
-
-
+
+
+
+
+
-
-
-
+
+
+
|
goto doc_not_found;
}
}else{
goto doc_not_found;
}
}
if( isUV ){
if( db_table_exists("repository","unversioned")
&& unversioned_content(zName, &filebody)==0
if( db_table_exists("repository","unversioned") ){
char *zHash;
zHash = db_text(0, "SELECT hash FROM unversioned WHERE name=%Q",zName);
etag_require_hash(zHash);
if( unversioned_content(zName, &filebody)==0 ){
){
rid = 1;
zDfltTitle = zName;
rid = 1;
zDfltTitle = zName;
}
}
}else if( fossil_strcmp(zCheckin,"ckout")==0 ){
/* Read from the local checkout */
char *zFullpath;
db_must_be_within_tree();
zFullpath = mprintf("%s/%s", g.zLocalRoot, zName);
if( file_isfile(zFullpath, RepoFILE)
|