##// END OF EJS Templates
phabricator: fix processing of tags/desc in getoldnodedrevmap()...
Denis Laxalde -
r44281:16b607e9 default
parent child Browse files
Show More
@@ -403,12 +403,15 b' def getoldnodedrevmap(repo, nodelist):'
403 m = _differentialrevisiontagre.match(tag)
403 m = _differentialrevisiontagre.match(tag)
404 if m:
404 if m:
405 toconfirm[node] = (0, set(precnodes), int(m.group(1)))
405 toconfirm[node] = (0, set(precnodes), int(m.group(1)))
406 continue
406 break
407
407 else:
408 # Check commit message
408 continue # move to next predecessor
409 m = _differentialrevisiondescre.search(ctx.description())
409 break # found a tag, stop
410 if m:
410 else:
411 toconfirm[node] = (1, set(precnodes), int(m.group('id')))
411 # Check commit message
412 m = _differentialrevisiondescre.search(ctx.description())
413 if m:
414 toconfirm[node] = (1, set(precnodes), int(m.group('id')))
412
415
413 # Double check if tags are genuine by collecting all old nodes from
416 # Double check if tags are genuine by collecting all old nodes from
414 # Phabricator, and expect precursors overlap with it.
417 # Phabricator, and expect precursors overlap with it.
General Comments 0
You need to be logged in to leave comments. Login now