218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
|
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
|
-
+
|
}
blob_append(&record, "\n", 1);
zFromBranch = db_text(0, "SELECT brnm FROM xbranch WHERE tname=%Q",
gg.zFromMark);
}else{
zFromBranch = 0;
}
if( zFromBranch==0 || strcmp(zFromBranch, gg.zBranch)!=0 ){
if( fossil_strcmp(zFromBranch, gg.zBranch)!=0 ){
blob_appendf(&record, "T *branch * %F\n", gg.zBranch);
blob_appendf(&record, "T *sym-%F *\n", gg.zBranch);
if( zFromBranch ){
blob_appendf(&record, "T -sym-%F *\n", zFromBranch);
}
}
free(zFromBranch);
|
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
|
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
|
-
+
|
zName = rest_of_line(&z);
i = 0;
pFile = import_find_file(zName, &i, gg.nFile);
if( pFile==0 ){
pFile = import_add_file();
pFile->zName = import_strdup(zName);
}
pFile->isExe = (strcmp(zPerm, "100755")==0);
pFile->isExe = (fossil_strcmp(zPerm, "100755")==0);
fossil_free(pFile->zUuid);
pFile->zUuid = resolve_committish(zUuid);
pFile->isFrom = 0;
}else
if( memcmp(zLine, "D ", 2)==0 ){
import_prior_files();
z = &zLine[2];
|