Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148435 - dev-util/mercurial: problem with mercurial.el
Summary: dev-util/mercurial: problem with mercurial.el
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 16:09 UTC by Xavier Maillard
Modified: 2006-12-19 01:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Maillard 2006-09-20 16:09:06 UTC
I am using mercurial.el and whenever I try to show the status of the current repository, I got this:

Traceback (most recent call last):
  File "/usr/bin/hg", line 12, in ?
    commands.run()
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 3266, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 3465, in dispatch
    return d()
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 3424, in <lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 2631, in status
    files, matchfn, anypats = matchpats(repo, pats, opts)
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 50, in matchpats
    opts.get('exclude'), head)
  File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 260, in cmdmatcher
    return _matcher(canonroot, cwd, names, inc, exc, head, dflt_pat, src)
  File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 347, in _matcher
    name = canonpath(canonroot, cwd, name)
  File "/usr/lib/python2.4/site-packages/mercurial/util.py", line 241, in canonpath
    name = os.path.join(*rel)
TypeError: join() takes at least 1 argument (0 given)

As I am not "fluent" in python, I hope someone will help me debugging this.

Also note that I have to do M-x load-file /path/to/mercurial.el RET to load mercurial.el (it does not work with a require statement)

This happens with app-emacs/emacs-cvs
Comment 1 Andrew Ross (RETIRED) gentoo-dev 2006-11-13 00:36:24 UTC
Xavier, what version of mercurial are you using?
Comment 2 Andrew Ross (RETIRED) gentoo-dev 2006-12-19 01:04:53 UTC
Works for me with app-editors/emacs-21.4-r4 and dev-util/mercurial-0.9.3