sangeet259 added a comment.

  **What I did**: @durin42 suggested in the issue page 
<https://bz.mercurial-scm.org/show_bug.cgi?id=5746> that the error was in the 
`verify` function of the `histedit.py` file. But when I ran through debugger 
using a revision number, the code was throwing the error before it reaches the 
`verify` function. Specifically in the `fromrules` function of the 
`histedit.py` file.
  It was earlier only accepting rulehashes, I changed that to accept any revset 
using the `scmutil.revsingle` function suggested by @timeless on the IRC 
channel.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2394

To: sangeet259, durin42, #hg-reviewers
Cc: mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to