D1721: debug: customizable timestamp when printing ui.debug text
quark (Jun Wu)
phabricator at mercurial-scm.org
Tue Dec 19 15:05:23 EST 2017
quark added a comment.
FWIW, if you don't have `ts` installed. That's 4 lines in Ruby:
#!/usr/bin/env ruby
start = Time.now.to_f
STDIN.each_line do |l|
puts "#{'%.3f' % (Time.now.to_f - start)} #{l}"
end
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1721
To: spectral, #hg-reviewers
Cc: quark, mercurial-devel
More information about the Mercurial-devel
mailing list