yuja added a comment. I think `shellquote()` is okay, but simpler workaround is to use `bytestr(date)` to drop `b`. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2438 To: durin42, #hg-reviewers Cc: yuja, mercurial-devel