Cannot clone from converted SVN repository, because of the nested Mercurial repository.

Anton Daneyko self at mezhaka.com
Fri Aug 30 12:04:12 UTC 2013


Thanks, I've added filemap file, ran it again, and it worked!
$ cat filemap
exclude
daneyko/settings/windows_desktop_at_work/vimfiles/bundle/vim-surround/.hg
$ hg convert --filemap filemap -s svn -d hg
https://svn.gwdg.de/svn/skhirev_src



On Thu, Aug 29, 2013 at 7:43 PM, Augie Fackler <lists at durin42.com> wrote:

> On Thu, Aug 29, 2013 at 7:07 AM, Anton Daneyko <self at mezhaka.com> wrote:
> > Dear list members,
> > I am trying to switch to Mercurial from SVN. I have successfully
> converted
> > our SVN repository like this:
> > $ hg convert --source-type svn --dest-type hg
> > https://svn.gwdg.de/svn/skhirev_src
> > now, when I do
> > $ hg clone skhirev_src-hg/ test_clone
> > I get the following error:
> > updating to branch default
> > abort: path
> >
> 'daneyko/settings/windows_desktop_at_work/vimfiles/bundle/vim-surround/.hg/00changelog.i'
> > is inside nested repo
> > 'daneyko/settings/windows_desktop_at_work/vimfiles/bundle/vim-surround
> > There was a nested Mercurial repository in our SVN repository.
> > Does anyone now how to solve this problem?
>
>
> You'll need to use the filemap option for convert to exclude the
> nested hg directory (assuming you can drop it).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20130830/03ed475b/attachment-0002.html>


More information about the Mercurial mailing list