bzr-svn: Pushing existing BZR to new SVN repo.
Eric Berry
elberry at gmail.com
Tue Sep 8 17:56:42 BST 2009
Hi Jelmer,
I tried that using using the remote repository locations, but I get an
error:
[516] bzr push -d lp:jedit-plugindeveloper/main
https://scene-plugins.svn.sourceforge.net/svnroot/scene-plugins/trunk
HTTPS scene-plugins.svn.sourceforge.net username:
elberry
<https://scene-plugins.svn.sourceforge.net:443> SourceForge Subversion area
elberry password:
bzr: ERROR: subvertpy.SubversionException: ('Svndiff contains a too-large
window', 185001)
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 835, in
exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 1030, in
run_bzr
ret = run(*run_argv)
File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 647, in
run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.5/site-packages/bzrlib/builtins.py", line 1161, in
run
use_existing_dir=use_existing_dir)
File "/Library/Python/2.5/site-packages/bzrlib/push.py", line 128, in
_show_push_branch
remember)
File "/Users/eberry/.bazaar/plugins/svn/remote.py", line 257, in
push_branch
overwrite=overwrite)
File "/Users/eberry/.bazaar/plugins/svn/remote.py", line 201, in
import_branch
push_merged=_push_merged, overwrite=overwrite)
File "/Users/eberry/.bazaar/plugins/svn/push.py", line 335, in
push_new_branch
override_svn_revprops=override_svn_revprops)
File "/Users/eberry/.bazaar/plugins/svn/push.py", line 287, in push_new
override_svn_revprops=override_svn_revprops)
File "/Users/eberry/.bazaar/plugins/svn/push.py", line 150, in
push_revision_tree
revid = builder.commit(rev.message)
File "/Users/eberry/.bazaar/plugins/svn/errors.py", line 136, in convert
raise convert_error(e)
SubversionException: ('Svndiff contains a too-large window', 185001)
bzr 1.17 on python 2.5.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'push', '-d',
'lp:jedit-plugindeveloper/main', '
https://scene-plugins.svn.sourceforge.net/svnroot/scene-plugins/trunk']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bisect /Users/eberry/.bazaar/plugins/bisect [1.1.0.pre.0]
bzrtools /Users/eberry/.bazaar/plugins/bzrtools [1.17]
email
/Library/Python/2.5/site-packages/bzrlib/plugins/email [unknown]
extmerge
/Library/Python/2.5/site-packages/bzrlib/plugins/extmerge [unknown]
launchpad
/Library/Python/2.5/site-packages/bzrlib/plugins/launchpad [1.17]
loom /Library/Python/2.5/site-packages/bzrlib/plugins/loom
[1.4dev]
netrc_credential_store
/Library/Python/2.5/site-packages/bzrlib/plugins/netrc_credential_store
[1.17]
rebase
/Library/Python/2.5/site-packages/bzrlib/plugins/rebase [0.5.4dev]
search
/Library/Python/2.5/site-packages/bzrlib/plugins/search [1.7dev]
svn /Users/eberry/.bazaar/plugins/svn [0.6.4]
upload
/Library/Python/2.5/site-packages/bzrlib/plugins/upload [1.0dev]
xmloutput /Users/eberry/.bazaar/plugins/xmloutput [0.8.2]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
The svn repository is on Sourceforge, so I can't push it to a local
directory.
Thanks,
Eric
On Tue, Sep 8, 2009 at 2:06 AM, Jelmer Vernooij <jelmer at samba.org> wrote:
> Hi Eric,
>
> On Wed, Sep 02, 2009 at 09:53:41AM -0700, Eric Berry wrote:
> > Unfortunately no. I was not able to get all the history pushed to SVN
> > correctly.
>
> > In the cases where I was able to get it imported into SVN without using
> BZR
> > export, I could get the history using the --include-merges option.
>
> > But this didn't work on a fresh checkout from the SVN repo using BZR
> branch
> > (or co).
>
> > I more or less punted and went with hosting on launchpad, but I would
> still
> > like to figure out what I did wrong because it's a very useful feature,
> and
> > I can see myself using it in the future.
>
> The easiest way to push a bazaar branch into an empty Subversion
> repository is using something like this:
>
> $ svnadmin create /tmp/svnrepo
> $ bzr push -d /tmp/my-bzr-branch /tmp/svnrepo/trunk
>
> Please note that you can't push directly to /tmp/svnrepo since that
> path already exists and has a history of its own that is different
> from the history you are trying to push. This is the reason for
> pushing to /trunk instead.
>
> Jelmer
>
--
Learn from the past. Live in the present. Plan for the future.
11101000
http://www.townsfolkdesigns.com/blogs/elberry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090908/2cb63573/attachment-0002.htm
More information about the bazaar
mailing list