# HG changeset patch # User Pierre-Yves David # Date 1409135380 -7200 # Node ID cdfc19f2547891a87b435431c016ede68f865692 # Parent 2039385d64608fa3f7bf8c14f825731f089390e7 obsexc: push nothing if push fail This is closer to the future behavior with bundle2. diff -r 2039385d6460 -r cdfc19f25478 hgext/evolve.py --- a/hgext/evolve.py Fri Aug 29 10:13:44 2014 +0200 +++ b/hgext/evolve.py Wed Aug 27 12:29:40 2014 +0200 @@ -2440,6 +2440,8 @@ if 'obsmarkers' in stepsdone: return stepsdone.add('obsmarkers') + if pushop.ret == 0: + return pushop.ui.debug('try to push obsolete markers to remote\n') repo = pushop.repo remote = pushop.remote