Fossil

Diff
Login

Differences From Artifact [451d85c26d]:

To Artifact [fc72d682c1]:


302
303
304
305
306
307
308
309
310
311

312
313
314
315
316
317
318
302
303
304
305
306
307
308



309
310
311
312
313
314
315
316







-
-
-
+







      zMsg = mprintf("overwrite %s (a=always/y/N)? ", zName);
      prompt_user(zMsg, &ans);
      free(zMsg);
      cReply = blob_str(&ans)[0];
      blob_reset(&ans);
      if( cReply=='a' || cReply=='A' ){
        promptFlag = 0;
        cReply = 'y';
      }
      if( cReply=='n' || cReply=='N' ){
      } else if( cReply!='y' && cReply!='Y' ){
        blob_reset(&content);
        continue;
      }
    }
    if( verbose ) fossil_print("%s\n", &zName[nRepos]);
    if( file_wd_isdir(zName) == 1 ){
      /*TODO(dchest): remove directories? */