D9432: formatting: drop a few extra double quotes in docstrings
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Sat Nov 28 04:49:01 UTC 2020
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
These were made obvious by the reformatting in D9430 <https://phab.mercurial-scm.org/D9430>.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D9432
AFFECTED FILES
hgext/fix.py
mercurial/interfaces/repository.py
mercurial/match.py
CHANGE DETAILS
diff --git a/mercurial/match.py b/mercurial/match.py
--- a/mercurial/match.py
+++ b/mercurial/match.py
@@ -107,7 +107,7 @@
def _kindpatsalwaysmatch(kindpats):
- """ "Checks whether the kindspats match everything, as e.g.
+ """Checks whether the kindspats match everything, as e.g.
'relpath:.' does.
"""
for kind, pat, source in kindpats:
diff --git a/mercurial/interfaces/repository.py b/mercurial/interfaces/repository.py
--- a/mercurial/interfaces/repository.py
+++ b/mercurial/interfaces/repository.py
@@ -617,7 +617,7 @@
"""
def revision(node, raw=False):
- """ "Obtain fulltext data for a node.
+ """Obtain fulltext data for a node.
By default, any storage transformations are applied before the data
is returned. If ``raw`` is True, non-raw storage transformations
diff --git a/hgext/fix.py b/hgext/fix.py
--- a/hgext/fix.py
+++ b/hgext/fix.py
@@ -372,7 +372,7 @@
def getworkqueue(ui, repo, pats, opts, revstofix, basectxs):
- """ "Constructs the list of files to be fixed at specific revisions
+ """Constructs the list of files to be fixed at specific revisions
It is up to the caller how to consume the work items, and the only
dependence between them is that replacement revisions must be committed in
To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list