Fossil

Diff
Login

Diff

Differences From Artifact [99f3558d7d]:

To Artifact [007e39a631]:


692
693
694
695
696
697
698
699

700
701
702
703
704
705
706
707
708
709
692
693
694
695
696
697
698

699



700
701
702
703
704
705
706







-
+
-
-
-







    Blob remote;
    *(char*)(zDir-1) = 0;
    transport_ssh_command(&cmd);
    blob_appendf(&cmd, " -T");
    blob_append_escaped_arg(&cmd, zRemote, 0);
    blob_init(&remote, 0, 0);
    if( zFossilCmd==0 ){
      blob_append_escaped_arg(&cmd,
      ssh_add_path_argument(&cmd);
        /*  tag-20240206-a:
        **  vvvv----  Keep in sync with the PATH= in tag-20240206-b */
           "PATH=$HOME/bin:/usr/local/bin:/opt/homebrew/bin:$PATH", 0);
      zFossilCmd = "fossil";
    }
    blob_appendf(&remote, "%$ patch %s%s --dir64 %z -",
                 zFossilCmd, zRemoteCmd, zForce, encode64(zDir, -1));
    blob_append_escaped_arg(&cmd, blob_str(&remote), 0);
    blob_reset(&remote);
  }