##// END OF EJS Templates
revset: for x^2, do not take null as a valid p2 revision...
Yuya Nishihara -
r30179:cdef35b3 default
parent child Browse files
Show More
@@ -1621,7 +1621,7 b' def parentspec(repo, subset, x, n, order'
1621 ps.add(cl.parentrevs(r)[0])
1621 ps.add(cl.parentrevs(r)[0])
1622 elif n == 2:
1622 elif n == 2:
1623 parents = cl.parentrevs(r)
1623 parents = cl.parentrevs(r)
1624 if len(parents) > 1:
1624 if parents[1] != node.nullrev:
1625 ps.add(parents[1])
1625 ps.add(parents[1])
1626 return subset & ps
1626 return subset & ps
1627
1627
@@ -2750,6 +2750,7 b' parentrevspec'
2750 5
2750 5
2751 $ log 'merge()^2'
2751 $ log 'merge()^2'
2752 4
2752 4
2753 $ log '(not merge())^2'
2753 $ log 'merge()^^'
2754 $ log 'merge()^^'
2754 3
2755 3
2755 $ log 'merge()^1^'
2756 $ log 'merge()^1^'
General Comments 0
You need to be logged in to leave comments. Login now