Show More
@@ -1506,7 +1506,11 class revlog(object): | |||||
1506 | try: |
|
1506 | try: | |
1507 | if self._partialmatch(test) is None: |
|
1507 | if self._partialmatch(test) is None: | |
1508 | return False |
|
1508 | return False | |
1509 |
|
1509 | except error.RevlogError: | ||
|
1510 | return False | |||
|
1511 | except error.WdirUnsupported: | |||
|
1512 | # single 'ff...' match | |||
|
1513 | return True | |||
1510 |
|
|
1514 | try: | |
1511 |
|
|
1515 | i = int(test) | |
1512 |
|
|
1516 | # if we are a pure int, then starting with zero will not be | |
@@ -1517,11 +1521,6 class revlog(object): | |||||
1517 |
|
|
1521 | return False | |
1518 |
|
|
1522 | except ValueError: | |
1519 |
|
|
1523 | return True | |
1520 | except error.RevlogError: |
|
|||
1521 | return False |
|
|||
1522 | except error.WdirUnsupported: |
|
|||
1523 | # single 'ff...' match |
|
|||
1524 | return True |
|
|||
1525 |
|
1524 | |||
1526 | hexnode = hex(node) |
|
1525 | hexnode = hex(node) | |
1527 | shortest = hexnode |
|
1526 | shortest = hexnode |
General Comments 0
You need to be logged in to leave comments.
Login now