Bug and question about branching an SVN repository
Jelmer Vernooij
jelmer at samba.org
Sat May 7 19:34:55 UTC 2011
Hi Philippe,
On Fri, 2011-05-06 at 07:35 +0200, Philippe Lhoste wrote:
> I am trying to work on the source code of PrestaShop:
> http://www.prestashop.com/en/
> I used a command line client for SVN (SilkSVN, was 1.5.4, just upgraded
> to 1.6.16) to get the branch:
> http://www.prestashop.com/en/downloads/#svn
>
> Then, I issued this command:
> > bzr branch official Philho
>
> to get a work branch. I first tried in a shared repository, then I just
> deleted the .bzr above to see if it is better without that, no luck.
>
> It starts to import revisions from SVN, then it crashes:
>
> > bzr branch official PhiLho
> bzr: ERROR: exceptions.AssertionError: Unable to find old fileid for
> tools/pear/PEAR.php in ('b9a71923-0436-4b27-9f14-aed3839534dd', 'trunk',
> 3102)
>
> Traceback (most recent call last):
> File "bzrlib\commands.pyo", line 923, in exception_to_return_code
> File "bzrlib\commands.pyo", line 1123, in run_bzr
> File "bzrlib\commands.pyo", line 691, in run_argv_aliases
> File "bzrlib\commands.pyo", line 710, in run
> File "bzrlib\cleanup.pyo", line 135, in run_simple
> File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
> File "bzrlib\builtins.pyo", line 1183, in run
> File "bzrlib\bzrdir.pyo", line 807, in open_tree_or_branch
> File "bzrlib\controldir.pyo", line 556, in _get_tree_branch
> File "C:/PrgCmdLine/Bazaar/plugins\svn\workingtree.py", line 1119, in
> open_workingtree
> File "C:/PrgCmdLine/Bazaar/plugins\svn\workingtree.py", line 219, in
> __init__
> File "C:/PrgCmdLine/Bazaar/plugins\svn\workingtree.py", line 718, in
> _update_base_revnum
> File "C:/PrgCmdLine/Bazaar/plugins\svn\workingtree.py", line 573, in
> read_working_inventory
> File "C:/PrgCmdLine/Bazaar/plugins\svn\workingtree.py", line 530, in
> add_dir_to_inv
> File "C:/PrgCmdLine/Bazaar/plugins\svn\workingtree.py", line 507, in
> find_ids
> File "C:/PrgCmdLine/Bazaar/plugins\svn\workingtree.py", line 436, in
> path_to_file_id
> File "C:/PrgCmdLine/Bazaar/plugins\svn\workingtree.py", line 779, in
> lookup_id
> File "C:/PrgCmdLine/Bazaar/plugins\svn\workingtree.py", line 242, in
> basis_idmap
> File "C:/PrgCmdLine/Bazaar/plugins\svn\repository.py", line 752, in
> get_fileid_map
> File "C:/PrgCmdLine/Bazaar/plugins\svn\fileids.py", line 427, in get_map
> File "C:/PrgCmdLine/Bazaar/plugins\svn\fileids.py", line 299, in
> update_idmap
> File "C:/PrgCmdLine/Bazaar/plugins\svn\fileids.py", line 243, in
> apply_delta
> AssertionError: Unable to find old fileid for tools/pear/PEAR.php in
> ('b9a71923-0436-4b27-9f14-aed3839534dd', 'trunk', 3
> 102)
>
> bzr 2.3.0 on python 2.6.6 (Windows-7-6.1.7600)
> arguments: ['bzr', 'branch', 'official', 'PhiLho']
> encoding: 'cp1252', fsenc: 'mbcs', lang: None
> plugins:
> bzrtools C:\PrgCmdLine\Bazaar\plugins\bzrtools [2.3.1]
> colo C:\PrgCmdLine\Bazaar\plugins\colo [0.2.1]
> explorer C:\PrgCmdLine\Bazaar\plugins\explorer [1.1.2]
> extcommand H:\Settings\bazaar\2.0\plugins\extcommand [unknown]
> extmerge H:\Settings\bazaar\2.0\plugins\extmerge [unknown]
> fastimport H:\Settings\bazaar\2.0\plugins\fastimport [unknown]
> launchpad C:\PrgCmdLine\Bazaar\plugins\launchpad [2.3.0]
> loom C:\PrgCmdLine\Bazaar\plugins\loom [2.2.1dev]
> netrc_credential_store
> C:\PrgCmdLine\Bazaar\plugins\netrc_credential_store [2.3.0]
> news_merge C:\PrgCmdLine\Bazaar\plugins\news_merge [2.3.0]
> pipeline C:\PrgCmdLine\Bazaar\plugins\pipeline [1.1.0]
> qbzr C:\PrgCmdLine\Bazaar\plugins\qbzr [0.20.0]
> rewrite C:\PrgCmdLine\Bazaar\plugins\rewrite [0.6.2dev]
> svn C:\PrgCmdLine\Bazaar\plugins\svn [1.0.5dev]
Have you tried with a newer bzr-svn snapshot? This one is a snapshot of
trunk from half a year or so ago.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110507/f35fb5d9/attachment.pgp>
More information about the bazaar
mailing list