Howdy, I think, it's better to replace "???" by "<unnamed>" in `fossil all changes` and `all extras` commands for unnamed repository, just for consistency.
(Although there are just "unnamed" (without <>), and just an empty string in some cases.) -- https://www.juef.space/
Index: src/checkin.c
==================================================================
--- src/checkin.c
+++ src/checkin.c
@@ -557,12 +557,12 @@
/* Find and print all requested changes. */
blob_zero(&report);
status_report(&report, flags);
if( blob_size(&report) ){
if( showHdr ){
- fossil_print("Changes for %s at %s:\n", db_get("project-name", "???"),
- g.zLocalRoot);
+ fossil_print("Changes for %s at %s:\n",
+ db_get("project-name", "<unnamed>"), g.zLocalRoot);
}
blob_write_to_file(&report, "-");
}else if( verboseFlag ){
fossil_print(" (none)\n");
}
@@ -865,12 +865,12 @@
blob_zero(&report);
status_report(&report, flags);
if( blob_size(&report) ){
if( showHdr ){
- fossil_print("Extras for %s at %s:\n", db_get("project-name","???"),
- g.zLocalRoot);
+ fossil_print("Extras for %s at %s:\n",
+ db_get("project-name", "<unnamed>"), g.zLocalRoot);
}
blob_write_to_file(&report, "-");
}
blob_reset(&report);
}
signature.asc
Description: PGP signature
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

