Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
evolve
Commits
99c25397889e
Commit
99c25397
authored
Apr 25, 2020
by
Anton Shestakov
Browse files
obshistory: add a docstring to patchavailable()
parent
304de9a04172
Changes
1
Show whitespace changes
Inline
Side-by-side
hgext3rd/evolve/obshistory.py
View file @
99c25397
...
...
@@ -209,6 +209,11 @@
pass
def
patchavailable
(
node
,
repo
,
candidates
,
successive
=
True
):
""" Check if it's possible to get a diff between node and candidates.
`candidates` contains nodes, which can be either successors (`successive`
is True) or predecessors (`successive` is False) of `node`.
"""
if
node
not
in
repo
:
return
False
,
b
"context is not local"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment