Fossil SCM

Update all executable and symlink bits in vfile at end of successful commit.

andygoth 2015-05-15 17:10 UTC andygoth-metadata-changes
Commit 076c854482b57152a788f3eccbb74b9baee0fc51
1 file changed +1
--- src/checkin.c
+++ src/checkin.c
@@ -2089,10 +2089,11 @@
20892089
"UPDATE vfile SET rid=mrid, chnged=0, deleted=0, origname=NULL"
20902090
" WHERE is_selected(id);"
20912091
, vid, nvid
20922092
);
20932093
db_lset_int("checkout", nvid);
2094
+ checkout_set_all_exe(nvid);
20942095
20952096
if( useCksum ){
20962097
/* Verify that the repository checksum matches the expected checksum
20972098
** calculated before the check-in started (and stored as the R record
20982099
** of the manifest file).
20992100
--- src/checkin.c
+++ src/checkin.c
@@ -2089,10 +2089,11 @@
2089 "UPDATE vfile SET rid=mrid, chnged=0, deleted=0, origname=NULL"
2090 " WHERE is_selected(id);"
2091 , vid, nvid
2092 );
2093 db_lset_int("checkout", nvid);
 
2094
2095 if( useCksum ){
2096 /* Verify that the repository checksum matches the expected checksum
2097 ** calculated before the check-in started (and stored as the R record
2098 ** of the manifest file).
2099
--- src/checkin.c
+++ src/checkin.c
@@ -2089,10 +2089,11 @@
2089 "UPDATE vfile SET rid=mrid, chnged=0, deleted=0, origname=NULL"
2090 " WHERE is_selected(id);"
2091 , vid, nvid
2092 );
2093 db_lset_int("checkout", nvid);
2094 checkout_set_all_exe(nvid);
2095
2096 if( useCksum ){
2097 /* Verify that the repository checksum matches the expected checksum
2098 ** calculated before the check-in started (and stored as the R record
2099 ** of the manifest file).
2100

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button