From patchwork Thu Feb 1 20:32:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1905: strip: use in-place revset formatspec instead of %-formatting ourselves From: phabricator X-Patchwork-Id: 27121 Message-Id: <9ac53278b9632656a5cfa3684e406cbe@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Thu, 1 Feb 2018 20:32:49 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG41f952d10905: strip: use in-place revset formatspec instead of %-formatting ourselves (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1905?vs=4905&id=5053 REVISION DETAIL https://phab.mercurial-scm.org/D1905 AFFECTED FILES hgext/strip.py CHANGE DETAILS To: durin42, #hg-reviewers, pulkit, indygreg Cc: mercurial-devel diff --git a/hgext/strip.py b/hgext/strip.py --- a/hgext/strip.py +++ b/hgext/strip.py @@ -215,7 +215,7 @@ # only reset the dirstate for files that would actually change # between the working context and uctx - descendantrevs = repo.revs("%s::." % uctx.rev()) + descendantrevs = repo.revs("%s::.", uctx.rev()) changedfiles = [] for rev in descendantrevs: # blindly reset the files, regardless of what actually changed