##// END OF EJS Templates
merge: break up a not-so-one-liner for readability...
marmoute -
r49556:48aff31e default
parent child Browse files
Show More
@@ -2368,9 +2368,8 b' def graft('
2368 2368 def back_out(ctx, parent=None, wc=None):
2369 2369 if parent is None:
2370 2370 if ctx.p2() is not None:
2371 raise error.ProgrammingError(
2372 b"must specify parent of merge commit to back out"
2373 )
2371 msg = b"must specify parent of merge commit to back out"
2372 raise error.ProgrammingError(msg)
2374 2373 parent = ctx.p1()
2375 2374 return _update(
2376 2375 ctx.repo(),
General Comments 0
You need to be logged in to leave comments. Login now