D3649: serve: add option print-url

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Mon Jun 4 08:43:03 EDT 2018


av6 added a comment.


  In https://phab.mercurial-scm.org/D3649#57901, @nspanti-logilab wrote:
  
  > Could you describe tests that you would like?
  
  
  For example, some that check that url is correct and is printed on stdout and not stderr, maybe also that it is printed when --port is specified (unlike "listening at" line). Doesn't have to be a lot, just some usage of this new command line switch in the tests. For inspiration, there are examples in test-hgwebdir.t, lines 1414 and 1431.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3649

To: nspanti-logilab, #hg-reviewers, durin42
Cc: KelvinTot, av6, yuja, mercurial-devel


More information about the Mercurial-devel mailing list