equal
deleted
inserted
replaced
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 |