equal
deleted
inserted
replaced
1466 drevid = drevids[i] |
1466 drevid = drevids[i] |
1467 drev = [d for d in drevs if int(d[b'id']) == drevid][0] |
1467 drev = [d for d in drevs if int(d[b'id']) == drevid][0] |
1468 |
1468 |
1469 newdesc = get_amended_desc(drev, old, fold) |
1469 newdesc = get_amended_desc(drev, old, fold) |
1470 # Make sure commit message contain "Differential Revision" |
1470 # Make sure commit message contain "Differential Revision" |
1471 if old.description() != newdesc: |
1471 if ( |
|
1472 old.description() != newdesc |
|
1473 or old.p1().node() in mapping |
|
1474 or old.p2().node() in mapping |
|
1475 ): |
1472 if old.phase() == phases.public: |
1476 if old.phase() == phases.public: |
1473 ui.warn( |
1477 ui.warn( |
1474 _(b"warning: not updating public commit %s\n") |
1478 _(b"warning: not updating public commit %s\n") |
1475 % scmutil.formatchangeid(old) |
1479 % scmutil.formatchangeid(old) |
1476 ) |
1480 ) |