trouble with .hgignore and hg pull

Benedikt Spranger b.spranger at linutronix.de
Thu Aug 4 06:30:50 CDT 2005


Hi,

using .hgignore in Repository A, I triggered the following Problem while
hg pull in Repository B:

$ hg pull
pulling from /path/to/hg/repos/A
searching for changes
adding changesets
adding manifests
adding file changes
Traceback (most recent call last):
  File "/usr/bin/hg", line 13, in ?
    commands.run()
  File "/usr/lib64/python2.3/site-packages/mercurial/commands.py", line
1289, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib64/python2.3/site-packages/mercurial/commands.py", line
1391, in dispatch
    return d()
  File "/usr/lib64/python2.3/site-packages/mercurial/commands.py", line
1376, in <lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/usr/lib64/python2.3/site-packages/mercurial/commands.py", line
813, in pull
    r = repo.pull(other)
  File "/usr/lib64/python2.3/site-packages/mercurial/hg.py", line 1210,
in pull
    return self.addchangegroup(cg)
  File "/usr/lib64/python2.3/site-packages/mercurial/hg.py", line 1329,
in addchangegroup
    n = fl.addgroup(getgroup(), revmap, tr)
  File "/usr/lib64/python2.3/site-packages/mercurial/revlog.py", line
494, in addgroup
    for chunk in revs:
  File "/usr/lib64/python2.3/site-packages/mercurial/hg.py", line 1294,
in getgroup
    c = getchunk()
  File "/usr/lib64/python2.3/site-packages/mercurial/hg.py", line 1286,
in getchunk
    d = source.read(4)
  File "/usr/lib64/python2.3/site-packages/mercurial/hg.py", line 1245,
in read
    self.buf += self.g.next()
  File "/usr/lib64/python2.3/site-packages/mercurial/hg.py", line 1276,
in gengroup
    for y in g:
  File "/usr/lib64/python2.3/site-packages/mercurial/revlog.py", line
418, in group
    f = self.opener(self.datafile)
  File "/usr/lib64/python2.3/site-packages/mercurial/hg.py", line 528,
in o
    return file(f, mode)
IOError: [Errno 2] No such file or directory:
'/path/to/hg/repos/A/.hg/data/.hgignore.d'
transaction abort!
rollback completed
$

Mercurial version eef752151556

Benedikt Spranger



More information about the Mercurial mailing list