Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs ediff-revision for Hg complains about Wrong number of arguments

Trying to get ediff-revision working on hg (mercurial-1.8.4) repo using Emacs v23.2 (9.0) on OS X Lion. I found this answer for the 1st part of my problem but now I'm getting this from Emacs ediff-revision:

M-x ediff-revision Compare revisions for file (default .hgtags): ~/myrepo.hg/.hgtags Revision 1 to compare (default .hgtags's latest revision): Revision 2 to compare (default .hgtags's current state):

and I get the following response:

Checking out /Users/username/repo.hg/.hgtags.~tip~...
apply: Wrong number of arguments: (lambda (file &optional editable rev) "Retrieve a revision of FILE.
EDITABLE is ignored.
like image 522
user1161189 Avatar asked Jan 20 '12 18:01

user1161189


1 Answers

Seems you are using an old emacs/vc/vc-hg version. Simply upgrading is probably the easiest solution.

I had a similar problem, which I could solve bit by bit by improving small settings and even made a patch. It never really solved all. Until I upgrade to a recent emacs (and support file); I use the Aquamacs distribution now, which works great on the Mac. (Although it's keybindings are more mac the traditional-emacs)

like image 193
Albert Avatar answered Sep 26 '22 01:09

Albert