# HG changeset patch # User Sean Farley # Date 1392450835 21600 # Node ID 6059c26a179fc8ae697843604336dce5ccf63c89 # Parent ad4cb902593e68695016be7c9d4f471179beebd5 compathacks: pep8 diff --git a/hgsubversion/compathacks.py b/hgsubversion/compathacks.py --- a/hgsubversion/compathacks.py +++ b/hgsubversion/compathacks.py @@ -1,11 +1,12 @@ """Functions to work around API changes inside Mercurial.""" + def branchset(repo): - """Return the set of branches present in a repo. + """Return the set of branches present in a repo. - Works around branchtags() vanishing between 2.8 and 2.9. - """ - try: - return set(repo.branchmap()) - except AttributeError: - return set(repo.branchtags()) + Works around branchtags() vanishing between 2.8 and 2.9. + """ + try: + return set(repo.branchmap()) + except AttributeError: + return set(repo.branchtags())