Fossil SCM
Fix (older) MSVC compile
Commit
80c94b768982a017804c2b137f5c83947bb6f1022ed5849c1e3b40b197884c2f
Parent
035bd4f65cb1310…
1 file changed
+3
-2
+3
-2
| --- src/import.c | ||
| +++ src/import.c | ||
| @@ -1377,15 +1377,16 @@ | ||
| 1377 | 1377 | int branchType; |
| 1378 | 1378 | int branchId = svn_parse_path(zTemp, &zFile, &branchType); |
| 1379 | 1379 | char *zAction = svn_find_header(rec, "Node-action"); |
| 1380 | 1380 | char *zKind = svn_find_header(rec, "Node-kind"); |
| 1381 | 1381 | char *zPerm = svn_find_prop(rec, "svn:executable") ? "x" : 0; |
| 1382 | + int deltaFlag = 0; | |
| 1383 | + int srcRev = 0; | |
| 1384 | + | |
| 1382 | 1385 | if ( zPerm==0 ){ |
| 1383 | 1386 | zPerm = svn_find_prop(rec, "svn:special") ? "l" : 0; |
| 1384 | 1387 | } |
| 1385 | - int deltaFlag = 0; | |
| 1386 | - int srcRev = 0; | |
| 1387 | 1388 | if( branchId==0 ){ |
| 1388 | 1389 | svn_free_rec(&rec); |
| 1389 | 1390 | continue; |
| 1390 | 1391 | } |
| 1391 | 1392 | if( (zTemp = svn_find_header(rec, "Text-delta")) ){ |
| 1392 | 1393 |
| --- src/import.c | |
| +++ src/import.c | |
| @@ -1377,15 +1377,16 @@ | |
| 1377 | int branchType; |
| 1378 | int branchId = svn_parse_path(zTemp, &zFile, &branchType); |
| 1379 | char *zAction = svn_find_header(rec, "Node-action"); |
| 1380 | char *zKind = svn_find_header(rec, "Node-kind"); |
| 1381 | char *zPerm = svn_find_prop(rec, "svn:executable") ? "x" : 0; |
| 1382 | if ( zPerm==0 ){ |
| 1383 | zPerm = svn_find_prop(rec, "svn:special") ? "l" : 0; |
| 1384 | } |
| 1385 | int deltaFlag = 0; |
| 1386 | int srcRev = 0; |
| 1387 | if( branchId==0 ){ |
| 1388 | svn_free_rec(&rec); |
| 1389 | continue; |
| 1390 | } |
| 1391 | if( (zTemp = svn_find_header(rec, "Text-delta")) ){ |
| 1392 |
| --- src/import.c | |
| +++ src/import.c | |
| @@ -1377,15 +1377,16 @@ | |
| 1377 | int branchType; |
| 1378 | int branchId = svn_parse_path(zTemp, &zFile, &branchType); |
| 1379 | char *zAction = svn_find_header(rec, "Node-action"); |
| 1380 | char *zKind = svn_find_header(rec, "Node-kind"); |
| 1381 | char *zPerm = svn_find_prop(rec, "svn:executable") ? "x" : 0; |
| 1382 | int deltaFlag = 0; |
| 1383 | int srcRev = 0; |
| 1384 | |
| 1385 | if ( zPerm==0 ){ |
| 1386 | zPerm = svn_find_prop(rec, "svn:special") ? "l" : 0; |
| 1387 | } |
| 1388 | if( branchId==0 ){ |
| 1389 | svn_free_rec(&rec); |
| 1390 | continue; |
| 1391 | } |
| 1392 | if( (zTemp = svn_find_header(rec, "Text-delta")) ){ |
| 1393 |