~sschwarzer

Trackers

~sschwarzer/vppdiff

Last active 13 days ago

#195 Feature request: Preview and/or edit comments 13 days ago

Ticket created by ~sschwarzer on ~sircmpwn/todo.sr.ht

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.

Use cases:

  • 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 more universal of the two features, so if you implement only one I'd prefer edit over preview.

#32 `hg out` and `hg push` quite slow 13 days ago

Comment by ~sschwarzer on ~sircmpwn/hg.sr.ht

At this time (2019-11-04 08:13 UTC) hg out takes 8.0 seconds and hg push 8.4 seconds (three measurements each with time). Both commands were for no commits to push, if that matters.

#32 `hg out` and `hg push` quite slow 13 days ago

Ticket created by ~sschwarzer on ~sircmpwn/hg.sr.ht

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 out commands 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 push was 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 .

#25 Mercurial bookmarks aren't pushed 2 months ago

Comment by ~sschwarzer on ~sircmpwn/hg.sr.ht

As far as I'm concerned, you can close the ticket.

#25 Mercurial bookmarks aren't pushed 2 months ago

Comment by ~sschwarzer on ~sircmpwn/hg.sr.ht

Is master by any chance pointed at one of those secret changesets?

Oops, yes, you're right.

I just set master to the last public changeset, pushed again with -B and it shows up in the Sourcehut web interface.

#25 Mercurial bookmarks aren't pushed 2 months ago

Ticket created by ~sschwarzer on ~sircmpwn/hg.sr.ht

It seems that Mercurial bookmarks aren't pushed even if requested.

(bm is defined as an alias for bookmark in my ~/.hgrc.)

$ hg bm                                                                         
 * master                    55:e628ceaacbe1                                    
$ hg push -B master ssh://hg@hg.sr.ht/~sschwarzer/vppdiff                       
pushing to ssh://hg@hg.sr.ht/~sschwarzer/vppdiff                                
searching for changes                                                           
no changes found (ignored 11 secret changesets)                                 
exporting bookmark master                                                       
$ cd ..                                                                         
$ rm -rf vppdiff2                                                               
$ hg clone ssh://hg@hg.sr.ht/~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://hg@hg.sr.ht/~sschwarzer/vppdiff                          
comparing with ssh://hg@hg.sr.ht/~sschwarzer/vppdiff                            
searching for changed bookmarks
no changed bookmarks found