Bazaar, Subversion and Symbolic Links

Russel Winder russel.winder at concertant.com
Tue Jan 19 01:53:07 GMT 2010


I tried to submit a bug report but Launchpad just said Oooppss and
crashed.

It seems impossible to branch the Scala trunk Subversion repository,
same symbolic link problem as with the Unison Subversion repository --
though note this isn't a bzr-svn issue, it is a bzr issue (I think).  I
think this needs to be handled better by Bazaar than simply crashing as
it does now.  The branch should succeed with a warning instead of
almost, but not quite, succeeding.  Especially after 21000s of activity.

NB  The branch is actually there, it is just that no working tree is
creatable.


 2010-01-18 18:59:11 +0000
0.364  bazaar version: 2.1.0dev5
0.365  bzr arguments: [u'branch', u'svn+http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk', u'Scala_Trunk']
0.510  looking for plugins in /home/users/russel/.bazaar/plugins
0.728  failed to load compiled extension: No module named _static_tuple_c
0.781  failed to load compiled extension: cannot import name _btree_serializer_pyx
1.167  failed to load compiled extension: No module named _rio_pyx
1.227  failed to load compiled extension: No module named _dirstate_helpers_pyx
1.253  failed to load compiled extension: No module named _known_graph_pyx
1.374  failed to load compiled extension: No module named _bencode_pyx
2.571  looking for plugins in /home/users/russel/.bazaar/plugins_Linux_ix86
2.609  looking for plugins in /home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/plugins
2.675  looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
2.676  Plugin name launchpad already loaded
2.677  Plugin name netrc_credential_store already loaded
2.677  Plugin name bzrtools already loaded
2.677  Plugin name dbus already loaded
2.677  Plugin name email already loaded
2.678  Plugin name loom already loaded
2.697  Plugin name upload already loaded
2.697  Plugin name xmloutput already loaded
2.698  Plugin name loggerhead already loaded
2.698  Plugin name svn already loaded
2.698  Plugin name rebase already loaded
2.950  encoding stdout as sys.stdout encoding 'UTF-8'
3.589  bzr-svn: using Subversion 1.6.5 ()
4.350  failed to load compiled extension: No module named _annotator_pyx
4.362  failed to load compiled extension: No module named _knit_load_data_pyx
[23044] 2010-01-18 18:59:16.017 INFO: Initialising Subversion metadata cache in /home/users/russel/.bazaar/svn-cache/5e8d7ff9-d8ef-0310-90f0-a4852d11357a.
90.465  potential branching layouts: [('trunk1', 262), ('trunk2', 21), ('root', 4)]
90.465  Guessed repository layout: TrunkLayout(1), guess layout to use: TrunkLayout(1)
106.357  failed to load compiled extension: No module named _chk_map_pyx
106.734  failed to load compiled extension: No module named _groupcompress_pyx
106.818  creating repository in file:///home/Checkouts/Bazaar/Scala_Trunk/.bzr/.
217.439  unsupported dir property 'svn:ignore'
217.440  unsupported file property 'svn:keywords'
217.691  unsupported file property 'svn:keywords'
217.691  unsupported file property 'svn:eol-style'
217.775  unsupported file property 'svn:keywords'
217.775  unsupported file property 'svn:eol-style'
217.824  unsupported file property 'svn:keywords'
217.824  unsupported file property 'svn:eol-style'
217.844  unsupported file property 'svn:keywords'
217.844  unsupported file property 'svn:eol-style'
217.919  unsupported file property 'svn:keywords'
217.919  unsupported file property 'svn:eol-style'
218.809  unsupported file property 'svn:keywords'
218.809  unsupported file property 'svn:eol-style'
218.854  unsupported file property 'svn:keywords'
218.855  unsupported file property 'svn:eol-style'
219.263  unsupported file property 'svn:keywords'
219.263  unsupported file property 'svn:eol-style'
219.378  unsupported file property 'svn:keywords'
219.379  unsupported file property 'svn:eol-style'
219.433  unsupported file property 'svn:keywords'
219.433  unsupported file property 'svn:eol-style'
219.457  unsupported file property 'svn:keywords'
219.457  unsupported file property 'svn:eol-style'
219.536  unsupported file property 'svn:keywords'
219.536  unsupported file property 'svn:eol-style'
219.587  unsupported file property 'svn:keywords'
219.587  unsupported file property 'svn:eol-style'
219.614  unsupported file property 'svn:keywords'
219.615  unsupported file property 'svn:eol-style'
219.660  unsupported file property 'svn:keywords'
219.660  unsupported file property 'svn:eol-style'
219.710  unsupported file property 'svn:keywords'
219.710  unsupported file property 'svn:eol-style'
219.730  unsupported file property 'svn:keywords'
219.731  unsupported file property 'svn:eol-style'
219.738  unsupported file property 'svn:keywords'
219.738  unsupported file property 'svn:eol-style'
219.761  unsupported file property 'svn:keywords'
219.761  unsupported file property 'svn:eol-style'
219.836  unsupported file property 'svn:keywords'
219.836  unsupported file property 'svn:eol-style'
219.969  unsupported file property 'svn:keywords'
219.970  unsupported file property 'svn:eol-style'
219.994  unsupported file property 'svn:keywords'
219.994  unsupported file property 'svn:eol-style'

[ . . . many very similar lines . . . ]

12542.765  unsupported file property 'svn:eol-style'
12542.796  unsupported file property 'svn:eol-style'
12542.814  unsupported file property 'svn:eol-style'
12542.823  unsupported file property 'svn:eol-style'
12542.834  unsupported file property 'svn:eol-style'
12542.922  unsupported file property 'svn:eol-style'
12542.955  unsupported file property 'svn:eol-style'
12542.961  unsupported file property 'svn:eol-style'
12542.983  unsupported file property 'svn:eol-style'
12542.995  unsupported file property 'svn:eol-style'
12543.076  unsupported file property 'svn:eol-style'
12543.097  unsupported file property 'svn:eol-style'
12543.105  unsupported file property 'svn:eol-style'
12543.129  unsupported file property 'svn:eol-style'
12543.210  unsupported file property 'svn:eol-style'
12543.232  unsupported file property 'svn:eol-style'
12543.242  unsupported file property 'svn:eol-style'
12543.253  unsupported file property 'svn:eol-style'
12543.330  unsupported file property 'svn:eol-style'
12543.344  unsupported file property 'svn:eol-style'
12543.352  unsupported file property 'svn:eol-style'
12543.366  unsupported file property 'svn:eol-style'
12543.438  unsupported file property 'svn:eol-style'
12543.465  unsupported file property 'svn:eol-style'
12543.470  unsupported file property 'svn:eol-style'
12543.483  unsupported file property 'svn:eol-style'
12543.488  unsupported file property 'svn:eol-style'
12543.496  unsupported file property 'svn:eol-style'
12543.502  unsupported file property 'svn:eol-style'
12543.508  unsupported file property 'svn:eol-style'
12543.512  unsupported file property 'svn:eol-style'
12543.521  unsupported file property 'svn:eol-style'
12543.529  unsupported file property 'svn:eol-style'
12543.536  unsupported file property 'svn:eol-style'
12543.544  unsupported file property 'svn:eol-style'
12543.548  unsupported file property 'svn:eol-style'
12543.858  checking remap as 66 deletions
12546.939  checking remap as 66 deletions
12568.727  unsupported file property 'svn:eol-style'
12568.757  unsupported file property 'svn:eol-style'
12568.784  unsupported file property 'svn:eol-style'
12591.399  unsupported file property 'svn:eol-style'
12591.405  unsupported file property 'svn:eol-style'
13084.313  Packing repository GCRepositoryPackCollection(CHKInventoryRepository('file:///home/Checkouts/Bazaar/Scala_Trunk/.bzr/repository/')), which has 1 pack files, containing 11365 revisions with hint ['1bf7746ab6ceac6ffec9cb3e3f741bfd'].
13091.533  repacking 11365 revisions
13234.959  repacking 11365 inventories
13392.330  repacking chk: 11357 id_to_entry roots, 2503 p_id_map roots, 67382 total keys
15585.097  repacking 54391 texts
20992.629  repacking 0 signatures
21057.243  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0xa31beac> in file:///home/Checkouts/Bazaar/Scala_Trunk/.bzr/
21135.917  created new branch BzrBranch7('file:///home/Checkouts/Bazaar/Scala_Trunk/')
21135.951  trying to create missing lock '/home/Checkouts/Bazaar/Scala_Trunk/.bzr/checkout/dirstate'
21135.967  opening working tree '/home/Checkouts/Bazaar/Scala_Trunk'
21154.946  Traceback (most recent call last):
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/builtins.py", line 1232, in run
    source_branch=br_from)
  File "/home/users/russel/.bazaar/plugins/svn/remote.py", line 117, in sprout
    return super(SvnRemoteAccess, self).sprout(*args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/bzrdir.py", line 1201, in sprout
    hardlink=hardlink)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/bzrdir.py", line 1616, in create_workingtree
    accelerator_tree=accelerator_tree, hardlink=hardlink)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/workingtree_4.py", line 1462, in initialize
    delta_from_tree=delta_from_tree)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/transform.py", line 2253, in build_tree
    delta_from_tree)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/transform.py", line 2339, in _build_tree
    tree)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/transform.py", line 2491, in new_by_entry
    return tt.new_symlink(name, parent_id, target, entry.file_id)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/transform.py", line 779, in new_symlink
    self.create_symlink(target, trans_id)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/transform.py", line 1255, in create_symlink
    os.symlink(target, self._limbo_name(trans_id))
OSError: [Errno 2] No such file or directory

21154.947  Transferred: 813452KiB (38.5K/s r:0K w:0K u:813452K)
21154.947  return code 3


-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel at russel.org.uk
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100119/698d545f/attachment-0001.pgp 


More information about the bazaar mailing list