Fossil

Diff
Login

Differences From Artifact [80bbf328d7]:

To Artifact [f3d8535d5e]:


215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
    /* For Windows, if the "manifest" setting contains the "l" flag and the
     * "manifest.symlinks" file exists, use its contents to determine which
     * files do and do not have the symlink permission. */
    if( manifestSymlinks
     && db_exists("SELECT 1 FROM symlink_perm WHERE filename=%Q", zName) ){
      currentPerm = PERM_LNK;
    }else{
      currentPerm = 0;
    }
#else
    currentPerm = file_wd_perm(zName);
#endif
    if( chnged==0 && (isDeleted || rid==0) ){
      /* "fossil rm" or "fossil add" always change the file */
      chnged = 1;







|







215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
    /* For Windows, if the "manifest" setting contains the "l" flag and the
     * "manifest.symlinks" file exists, use its contents to determine which
     * files do and do not have the symlink permission. */
    if( manifestSymlinks
     && db_exists("SELECT 1 FROM symlink_perm WHERE filename=%Q", zName) ){
      currentPerm = PERM_LNK;
    }else{
      currentPerm = origPerm;
    }
#else
    currentPerm = file_wd_perm(zName);
#endif
    if( chnged==0 && (isDeleted || rid==0) ){
      /* "fossil rm" or "fossil add" always change the file */
      chnged = 1;