Mercurial > hg
comparison mercurial/hg.py @ 27637:b502138f5faa
cleanup: remove superfluous space after space after equals (python)
author | timeless <timeless@mozdev.org> |
---|---|
date | Thu, 31 Dec 2015 08:16:59 +0000 |
parents | 1cf3543cc780 |
children | cffa46cbdb8f d493d64757eb |
comparison
equal
deleted
inserted
replaced
27636:21b363bd87dc | 27637:b502138f5faa |
---|---|
50 peer = other.peer() # a courtesy to callers using a localrepo for other | 50 peer = other.peer() # a courtesy to callers using a localrepo for other |
51 hashbranch, branches = branches | 51 hashbranch, branches = branches |
52 if not hashbranch and not branches: | 52 if not hashbranch and not branches: |
53 x = revs or None | 53 x = revs or None |
54 if util.safehasattr(revs, 'first'): | 54 if util.safehasattr(revs, 'first'): |
55 y = revs.first() | 55 y = revs.first() |
56 elif revs: | 56 elif revs: |
57 y = revs[0] | 57 y = revs[0] |
58 else: | 58 else: |
59 y = None | 59 y = None |
60 return x, y | 60 return x, y |