D1884: strip: use %d for known-int string interpolation

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Jan 18 08:53:44 EST 2018


yuja added inline comments.

INLINE COMMENTS

> strip.py:218
>              # between the working context and uctx
> -            descendantrevs = repo.revs("%s::." % uctx.rev())
> +            descendantrevs = repo.revs(b"%d::." % uctx.rev())
>              changedfiles = []

It should be `repo.revs("%d::.", uctx.rev())` by the way.

REPOSITORY
  rHG Mercurial

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

To: durin42, #hg-reviewers, pulkit
Cc: yuja, pulkit, mercurial-devel


More information about the Mercurial-devel mailing list