[issue2607] notify hook raises division by zero on empty patch

jos bugs at mercurial.selenic.com
Thu Jan 27 11:20:00 UTC 2011


New submission from jos <josef.marec at ge.com>:

hi,

when pushing a changeset with empty diff, notify hook fails:

remote: error: incoming.notify hook raised an exception: integer division or
modulo by zero

diff is empty, because it has been created with --git option and the
changeset contains just hg mv (hg rm should behave the same way, i suppose)

regards

  jos

----------
messages: 15012
nosy: jos
priority: bug
status: unread
title: notify hook raises division by zero on empty patch
topic: hooks, notify

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2607>
____________________________________________________


More information about the Mercurial-devel mailing list