Along the same lines as #134, I'd like to have a way to preview comments before submitting them and/or to edit comments after submitting them.
Fix formatting (especially Markdown). This function should be available in a preview.
Fix wording (for example, sentences I noticed are ambigious). This would be a reason for editing because sometimes you notice only a bit later that something isn't as easy to understand as you initially thought. I'm aware that you can always add another comment to clarify, but for many cases, this seems overkill, so the clarification doesn't happen.
Adding a part of program output that you omitted when submitting the comment (maybe because you thought it's not relevant). Adding this output to the comment is much more concise than repeating the previously listed output together with the previously omitted output.
So in my opinion neither of preview or edit is a substitute for the other. For Markdown fixes, you'd want a preview, for text changes you'd want editing. That said, editing is the moreuniversalof the two features, so if you implement only one I'd prefer edit over preview.
At this time (2019-11-04 08:13 UTC)
hg outtakes 8.0 seconds and
hg push8.4 seconds (three measurements each with
time). Both commands were for no commits to push, if that matters.
This ticket probably is more to do with the Mercurial deployment than with the code for the Mercurial subsystem. Should I file this ticket somewhere else?
At around 2019-11-03 20:30 UTC and in the following 15-30 minutes I executed several
hg outcommands from my computer with respect to my repository https://hg.sr.ht/~sschwarzer/vppdiff/log . Most of these invocations took around 15 and in one case over 30 seconds despite a rather small repository with at that time 9 not-pushed commits.
hg pushwas also rather slow (11 s in at least one case).
Ping latency to hg.sr.ht from my computer currently is about 110 ms, so I assume this isn't a problem with the network connection to hg.sr.ht .
As far as I'm concerned, you can close the ticket.
Is master by any chance pointed at one of those secret changesets?
Oops, yes, you're right.
I just set
masterto the last public changeset, pushed again with
-Band it shows up in the Sourcehut web interface.
It seems that Mercurial bookmarks aren't pushed even if requested.
bmis defined as an alias for
$ hg bm * master 55:e628ceaacbe1 $ hg push -B master ssh://firstname.lastname@example.org/~sschwarzer/vppdiff pushing to ssh://email@example.com/~sschwarzer/vppdiff searching for changes no changes found (ignored 11 secret changesets) exporting bookmark master $ cd .. $ rm -rf vppdiff2 $ hg clone ssh://firstname.lastname@example.org/~sschwarzer/vppdiff vppdiff2 requesting all changes adding changesets adding manifests adding file changes added 45 changesets with 46 changes to 5 files new changesets 44de5497252e:df38be372399 updating to branch default 5 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd vppdiff2 $ hg bm no bookmarks set $ hg incoming -B ssh://email@example.com/~sschwarzer/vppdiff comparing with ssh://firstname.lastname@example.org/~sschwarzer/vppdiff searching for changed bookmarks no changed bookmarks found