Skip to content
Snippets Groups Projects
Commit 4e34d944 authored by Sean Farley's avatar Sean Farley
Browse files

hgrepo: whitespace and formatting cleanup

parent 77252ce6
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
def pull(self, remote, heads=None, force=False):
if isinstance(remote, gitrepo):
return self.githandler.fetch(remote.path, heads)
else: #pragma: no cover
else: # pragma: no cover
return super(hgrepo, self).pull(remote, heads, force)
if hgutil.safehasattr(localrepo.localrepository, 'push'):
......@@ -26,7 +26,7 @@
def push(self, remote, force=False, revs=None, newbranch=False):
if isinstance(remote, gitrepo):
return self.githandler.push(remote.path, revs, force)
else: #pragma: no cover
else: # pragma: no cover
return super(hgrepo, self).push(remote, force, revs,
newbranch)
......@@ -34,5 +34,6 @@
def findoutgoing(self, remote, base=None, heads=None, force=False):
if isinstance(remote, gitrepo):
base, heads = self.githandler.get_refs(remote.path)
out, h = super(hgrepo, self).findoutgoing(remote, base, heads, force)
out, h = super(hgrepo, self).findoutgoing(remote, base,
heads, force)
return out
......@@ -38,6 +39,7 @@
return out
else: #pragma: no cover
return super(hgrepo, self).findoutgoing(remote, base, heads, force)
else: # pragma: no cover
return super(hgrepo, self).findoutgoing(remote, base,
heads, force)
def _findtags(self):
(tags, tagtypes) = super(hgrepo, self)._findtags()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment