diff -r 3355e0c2845f -r 6fb281f39c25 hgext/phabricator.py --- a/hgext/phabricator.py Wed Sep 18 00:05:52 2019 +0100 +++ b/hgext/phabricator.py Wed Sep 18 00:20:43 2019 +0100 @@ -612,7 +612,7 @@ else: # Nothing changed. But still set "newrevphid" so the next revision # could depend on this one and "newrevid" for the summary line. - newrevphid = querydrev(repo, str(revid))[0][b'phid'] + newrevphid = querydrev(repo, b'%d' % revid)[0][b'phid'] newrevid = revid action = b'skipped'