[issue464] Too large(?) negative revision is not accepted

FUJIWARA Katsunori mercurial-bugs at selenic.com
Mon Jan 1 21:17:24 CST 2007


New submission from FUJIWARA Katsunori <foozy at lares.dti.ne.jp>:

Since changeset cf0f8d9256c7, too large(? sorry, I do not know what
phrase is suitable for such situation) negative revision is not
accepted, because that changeset eliminates the code to treat such
revision as "0".

(1) Is this official (or desirable for general) behavior ?

(2) and if so, mercurial.el should be patched:

    because it invokes "hg log" with fixed negative number
    (e.g.: -100) and it may causes 'abort: unknown revision' on the
    repository which contains less changesets than specified number.

    I post my patch for mercurial.el to solve this problem.

----------
files: e1ffdda30a2e.patch
messages: 2629
nosy: foozy
priority: bug
status: unread
title: Too large(?) negative revision is not accepted

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue464>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e1ffdda30a2e.patch
Type: application/octet-stream
Size: 3598 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial-devel/attachments/20070102/63957d00/e1ffdda30a2e.obj


More information about the Mercurial-devel mailing list