Commits

Sean Farley committed 6059c26

compathacks: pep8

Comments (0)

Files changed (1)

hgsubversion/compathacks.py

 """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())