[issue2771] cannot pull from svn repo

JohanSamyn bugs at mercurial.selenic.com
Tue Apr 19 18:26:58 UTC 2011


New submission from JohanSamyn <johan.samyn at gmail.com>:

Hi,
I have a repo that is a clone from a svn repo. But I experienced a problem
when trying to pull new csets into it from the svn repo.

When I work with the tip of stable (cset <<71ea5b2b9517>>) (Hg source repo),
everything works fine. But when I try the same with the tip of default (cset
<<155d2e17884e>>), things don't work as expected. I also use the tip of
hgsubversion.

Here's the traceback produced (all extensions except hgsubversion are
disabled) (command used: python M:\DEV\hg-default\hg --repository
C:\DEV\SVN\hgsvnsandbox pull --traceback file:///C:/DEV/SVN/svnrepo):
{{{
C:\DEV\SVN\hgsvnsandbox>python M:\DEV\hg-default\hg --repository
C:\DEV\SVN\hgsvnsandbox pull --traceback file:///C:/DEV/SVN/svnrepo
Traceback (most recent call last):
  File "M:\DEV\hg-default\mercurial\dispatch.py", line 58, in _runcatch
    return _dispatch(ui, args)
  File "M:\DEV\hg-default\mercurial\dispatch.py", line 601, in _dispatch
    cmdpats, cmdoptions)
  File "M:\DEV\hg-default\mercurial\dispatch.py", line 406, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "M:\DEV\hg-default\mercurial\dispatch.py", line 655, in _runcommand
    return checkargs()
  File "M:\DEV\hg-default\mercurial\dispatch.py", line 609, in checkargs
    return cmdfunc()
  File "M:\DEV\hg-default\mercurial\dispatch.py", line 598, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "M:\DEV\hg-default\mercurial\util.py", line 433, in check
    return func(*args, **kwargs)
  File "M:\DEV\hg-default\mercurial\extensions.py", line 133, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "M:\DEV\hg-default\mercurial\util.py", line 433, in check
    return func(*args, **kwargs)
  File "M:\DEV\hgsubversion\hgsubversion\wrappers.py", line 495, in generic
    return orig(ui, repo, *args, **opts)
  File "M:\DEV\hg-default\mercurial\util.py", line 433, in check
    return func(*args, **kwargs)
  File "M:\DEV\hg-default\mercurial\commands.py", line 3037, in pull
    other = hg.repository(hg.remoteui(repo, opts), source)
  File "M:\DEV\hg-default\mercurial\hg.py", line 93, in repository
    repo = _lookup(path).instance(ui, path, create)
  File "M:\DEV\hg-default\mercurial\localrepo.py", line 1931, in instance
    return localrepository(ui, urlmod.localpath(path), create)
  File "M:\DEV\hg-default\mercurial\localrepo.py", line 67, in __init__
    raise error.RepoError(_("repository %s not found") % path)
RepoError: repository /C:/DEV/SVN/svnrepo not found
abort: repository /C:/DEV/SVN/svnrepo not found!
}}}

I first noticed trouble from within TortoiseHg. The url I saved there as the
default for the svn repo, was shown as "file:/C%3A/DEV/SVN/svnrepo" in the
sync widget. Maybe this could be useful too.

--
Johan

----------
messages: 16084
nosy: JohanSamyn
priority: bug
status: unread
title: cannot pull from svn repo

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2771>
____________________________________________________


More information about the Mercurial-devel mailing list