##// END OF EJS Templates
phabricator: don't abort if property writing fails during amending...
Ian Moody -
r43187:e26c2440 stable
parent child Browse files
Show More
@@ -659,7 +659,12 b' def phabsend(ui, repo, *revs, **opts):'
659
659
660 mapping[old.node()] = [newnode]
660 mapping[old.node()] = [newnode]
661 # Update diff property
661 # Update diff property
662 writediffproperties(unfi[newnode], diffmap[old.node()])
662 # If it fails just warn and keep going, otherwise the DREV
663 # associations will be lost
664 try:
665 writediffproperties(unfi[newnode], diffmap[old.node()])
666 except util.urlerr.urlerror:
667 ui.warn(b'Failed to update metadata for D%s\n' % drevid)
663 # Remove local tags since it's no longer necessary
668 # Remove local tags since it's no longer necessary
664 tagname = b'D%d' % drevid
669 tagname = b'D%d' % drevid
665 if tagname in repo.tags():
670 if tagname in repo.tags():
General Comments 0
You need to be logged in to leave comments. Login now