mq: fix qparents to return the correct parent when no patches are applied

This commit is contained in:
Chris Mason 2006-06-27 10:49:46 -04:00
parent 26fe10a876
commit f6facbf17c

View File

@ -214,7 +214,6 @@ class queue:
return pp[0]
if p1 in arevs:
return pp[1]
return None
return pp[0]
def mergepatch(self, repo, mergeq, series, wlock):