Not importing full history from external SVN server.

Asked by Raul Ferriz

Import of branch https://facturlinex.svn.sourceforge.net/svnroot/facturlinex/trunk on https://code.launchpad.net/~raul.ferriz/facturlinex/trunk does not import full history of remote branch. There are 250 revisions, and launchpad only imports 243 of them.
Any issue?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Brad Crittenden
Solved:
Last query:
Last reply:
Revision history for this message
Raul Ferriz (raul.ferriz) said :
#1

Seems that all info was correctly imported to launchpad, but then why there are 250 revisions on sf.net and only 243 on launchpad?

Revision history for this message
Joepal (joepal1976) said :
#2

I have the same problem on a recently started import. Only 689 revisions are imported, while there are in fact 714.

Further, the import script fails with a crash:

Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/scripts/code-import-worker.py", line 66, in <module>
    script.main()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/scripts/code-import-worker.py", line 61, in main
    import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/lib/lp/codehosting/codeimport/worker.py", line 393, in run
    self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/lib/lp/codehosting/codeimport/worker.py", line 489, in _doImport
    bazaar_tree = self.getBazaarWorkingTree()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/lib/lp/codehosting/codeimport/worker.py", line 356, in getBazaarWorkingTree
    self.required_format)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8939/lib/lp/codehosting/codeimport/worker.py", line 76, in pull
    bzr_dir.sprout(target_path)
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/bzrdir.py", line 1201, in sprout
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/bzrdir.py", line 1616, in create_workingtree
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/workingtree_4.py", line 1462, in initialize
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/transform.py", line 2178, in build_tree
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/transform.py", line 2264, in _build_tree
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/transform.py", line 2416, in new_by_entry
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/transform.py", line 717, in new_symlink
  File "/home/pqm/for_rollouts/production/eggs/bzr-2.1.0b4-py2.5-linux-x86_64.egg/bzrlib/transform.py", line 1180, in create_symlink
OSError: [Errno 2] No such file or directory
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

Revision history for this message
Best Brad Crittenden (bac) said :
#3

Raul it is likely that you actually have all of your revisions and the difference you are seeing is based on the different numbering schemes between SVN and Bzr. SVN has global revision numbers and bzr has per-branch.

Joepal the bug you report has been fixed in bzr-svn.

Revision history for this message
Raul Ferriz (raul.ferriz) said :
#4

Thanks Brad Crittenden, that solved my question.