Check-in [48eea5e330]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Further enhance the --extpage option so that it works with "fossil ui remote:path".
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 48eea5e3306bd2a363a07b8cdd8d44310bf5b5917119cef0fc82afbfba66a81d
User & Date: drh 2025-03-23 20:17:57.093
Context
2025-03-24
07:16
Check if VT100 support is available to restore compatibility of console output with Legacy Consoles (from Windows XP to Windows 11). check-in: 360abc5e82 user: florian tags: trunk
2025-03-23
20:17
Further enhance the --extpage option so that it works with "fossil ui remote:path". check-in: 48eea5e330 user: drh tags: trunk
19:50
Add the --extpage option to the "fossil ui" command. check-in: 36c798413c user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
3507
3508
3509
3510
3511
3512
3513






3514

3515
3516
3517
3518
3519
3520
3521
      }else{
        blob_appendf(&ssh, " %$", zFossilCmd);
      }
      blob_appendf(&ssh, " ui --nobrowser --localauth --port %d", iPort);
      if( zNotFound ) blob_appendf(&ssh, " --notfound %!$", zNotFound);
      if( zFileGlob ) blob_appendf(&ssh, " --files-urlenc %T", zFileGlob);
      if( g.zCkoutAlias ) blob_appendf(&ssh," --ckout-alias %!$",g.zCkoutAlias);






      if( g.zExtRoot ) blob_appendf(&ssh, " --extroot %$", g.zExtRoot);

      if( skin_in_use() ) blob_appendf(&ssh, " --skin %s", skin_in_use());
      if( zJsMode ) blob_appendf(&ssh, " --jsmode %s", zJsMode);
      if( fCreate ) blob_appendf(&ssh, " --create");
      blob_appendf(&ssh, " %$", g.argv[2]);
      if( isRetry ){
        fossil_print("First attempt to run \"fossil\" on %s failed\n"
                     "Retry: ", zRemote);







>
>
>
>
>
>
|
>







3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
      }else{
        blob_appendf(&ssh, " %$", zFossilCmd);
      }
      blob_appendf(&ssh, " ui --nobrowser --localauth --port %d", iPort);
      if( zNotFound ) blob_appendf(&ssh, " --notfound %!$", zNotFound);
      if( zFileGlob ) blob_appendf(&ssh, " --files-urlenc %T", zFileGlob);
      if( g.zCkoutAlias ) blob_appendf(&ssh," --ckout-alias %!$",g.zCkoutAlias);
      if( zExtPage ){
        if( !file_is_absolute_path(zExtPage) ){
          zExtPage = mprintf("%s/%s", g.argv[2], zExtPage);
        }
        blob_appendf(&ssh, " --extpage %$", zExtPage);
      }else if( g.zExtRoot ){
        blob_appendf(&ssh, " --extroot %$", g.zExtRoot);
      }
      if( skin_in_use() ) blob_appendf(&ssh, " --skin %s", skin_in_use());
      if( zJsMode ) blob_appendf(&ssh, " --jsmode %s", zJsMode);
      if( fCreate ) blob_appendf(&ssh, " --create");
      blob_appendf(&ssh, " %$", g.argv[2]);
      if( isRetry ){
        fossil_print("First attempt to run \"fossil\" on %s failed\n"
                     "Retry: ", zRemote);