##// END OF EJS Templates
graft: drop cset description from empty commit message...
Matt Mackall -
r23508:2164226a default
parent child Browse files
Show More
@@ -3498,8 +3498,9 b' def graft(ui, repo, *revs, **opts):'
3498 3498 node = repo.commit(text=message, user=user,
3499 3499 date=date, extra=extra, editor=editor)
3500 3500 if node is None:
3501 ui.warn(_('note: graft of %s created no changes to commit\n') %
3502 desc)
3501 ui.warn(
3502 _('note: graft of %d:%s created no changes to commit\n') %
3503 (ctx.rev(), ctx))
3503 3504 finally:
3504 3505 wlock.release()
3505 3506
@@ -716,5 +716,6 b' Empty graft'
716 716 $ hg up -qr 26
717 717 $ hg tag -f something
718 718 $ hg graft -qr 27
719 $ hg graft -qf 27
720 note: graft of 27:3aaa8b6725f0 "28" created no changes to commit
719 $ hg graft -f 27
720 grafting 27:3aaa8b6725f0 "28"
721 note: graft of 27:3aaa8b6725f0 created no changes to commit
General Comments 0
You need to be logged in to leave comments. Login now