23 Apr 20:16
problems with convert from svn
From: Dov Feldstern <dfeldstern <at> fastimap.com>
Subject: problems with convert from svn
Newsgroups: gmane.comp.version-control.mercurial.general
Date: 2008-04-23 18:19:21 GMT
Subject: problems with convert from svn
Newsgroups: gmane.comp.version-control.mercurial.general
Date: 2008-04-23 18:19:21 GMT
Hi!
Patrick --- I saw that you committed a lot of work into convert of branches from
svn last week, some of which looked like it may be aimed at solving the problems
I'm having with conversion of branches from LyX's svn repo?
Anyhow, I updated to 4a064e1977f8 and tried converting from LyX-svn again. However:
1) convert now seems to be hanging when the conversion is completed. Attached
find debug output of the following command:
hg convert --rev 139 --debug file:///home/lyx/svnstore/lyx/lyx-devel
${HOME}/convert-test
(Notes: (a) rev 139 is the first revision under lyx-devel; converting up to 138
works fine --- i.e., does nothing, but doesn't hang; (b) to try it yourself from
a remote machine, the url is probably svn://svn.lyx.org/lyx/lyx-devel/ --- I
don't have a remote machine with a recent enough version of the svn python
bindings to test this out)
2) The problem that I was hoping would be solved, is not solved (maybe it wasn't
meant to be): the problem is that there are some branches which are rooted at
branches/personal/XXX rather than directly under branches/, but are converted
into mercurial as a single branch rooted at branches/personal. This results in a
"branch" with an extremely different tree structure / manifest than any other
branch, and consequently the repository size grows significantly. The best
solution (if possible) would be to search the directories under branches/, and
only consider a sub-directory to be a branch if it is a copy (as recorded by svn
itself) of trunk or of an other "branch" (defined recursively, but also in tags/).
See http://marc.info/?l=mercurial&m=120791036522125&w=2 and
http://marc.info/?l=mercurial&m=120790312301585&w=2
Thanks!
Dov
Hi!
Patrick --- I saw that you committed a lot of work into convert of branches from
svn last week, some of which looked like it may be aimed at solving the problems
I'm having with conversion of branches from LyX's svn repo?
Anyhow, I updated to 4a064e1977f8 and tried converting from LyX-svn again. However:
1) convert now seems to be hanging when the conversion is completed. Attached
find debug output of the following command:
hg convert --rev 139 --debug file:///home/lyx/svnstore/lyx/lyx-devel
${HOME}/convert-test
(Notes: (a) rev 139 is the first revision under lyx-devel; converting up to 138
works fine --- i.e., does nothing, but doesn't hang; (b) to try it yourself from
a remote machine, the url is probably svn://svn.lyx.org/lyx/lyx-devel/ --- I
don't have a remote machine with a recent enough version of the svn python
bindings to test this out)
2) The problem that I was hoping would be solved, is not solved (maybe it wasn't
meant to be): the problem is that there are some branches which are rooted at
branches/personal/XXX rather than directly under branches/, but are converted
into mercurial as a single branch rooted at branches/personal. This results in a
"branch" with an extremely different tree structure / manifest than any other
branch, and consequently the repository size grows significantly. The best
solution (if possible) would be to search the directories under branches/, and
only consider a sub-directory to be a branch if it is a copy (as recorded by svn
itself) of trunk or of an other "branch" (defined recursively, but also in tags/).
See http://marc.info/?l=mercurial&m=120791036522125&w=2 and
http://marc.info/?l=mercurial&m=120790312301585&w=2
Thanks!
Dov
RSS Feed