push of bzr branch to svn fails with revision property error

Bug #375823 reported by basur
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subversion
New
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 729, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 924, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 560, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1076, in run
    use_existing_dir=use_existing_dir)
  File "/usr/lib/python2.6/dist-packages/bzrlib/push.py", line 128, in _show_push_branch
    remember)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/remote.py", line 251, in push_branch
    overwrite=overwrite)
  File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 868, in push
    *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/branch.py", line 782, in push
    override_svn_revprops=_override_svn_revprops)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/branch.py", line 764, in _update_revisions
    push_merged)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/push.py", line 295, in push_branch
    last = self.push(target_branch, target_config, rev)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/push.py", line 307, in push
    revid, foreign_info = push(self.get_graph(), self.target, target_path, target_config, base_revid, self.source, rev, push_metadata=push_metadata, base_foreign_revid=base_foreign_revid, base_mapping=base_mapping)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/push.py", line 243, in push
    base_foreign_revid=base_foreign_revid, base_mapping=base_mapping)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/push.py", line 212, in push_revision_tree
    revid = builder.commit(rev.message)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/errors.py", line 132, in convert
    raise convert_error(e)
SubversionException: ('At least one property change failed; repository is unchanged', 175008)

bzr 1.15dev on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'push', 'http://user@server:8080/path']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.14]
  fastimport /usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport [0.8dev]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [1.15dev]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [1.15dev]
  qbzr /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr [0.9.8]
  svn /usr/lib/python2.6/dist-packages/bzrlib/plugins/svn [0.6dev]
  xmloutput /usr/lib/python2.6/dist-packages/bzrlib/plugins/xmloutput [0.8.3]
*** 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.

Revision history for this message
basur (basur-au) wrote :

I basically tried to push a bzr branch to an svn repo so that I can easily access it via a continuous integration server.

The push successfully push about 1800 revision numbers but keeps failing on the last 211 with the error above.
I tried multiple versions of bzr-svn but so far none fixed it.

description: updated
basur (basur-au)
visibility: public → private
Revision history for this message
basur (basur-au) wrote :

I tried to do some packet sniffing on the http data going back and forth between the server and bzr and it seems that there is an error coming back about the data size being too big.
I can attach the actual error if required.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 375823] Re: push of bzr branch to svn fails with revision property error

On Fri, May 15, 2009 at 12:52:29AM -0000, basur wrote:
> I tried to do some packet sniffing on the http data going back and forth between the server and bzr and it seems that there is an error coming back about the data size being too big.
> I can attach the actual error if required.

Please do, that might help in debugging what's causing this.

Cheers,

Jelmer

Revision history for this message
basur (basur-au) wrote :

PROPPATCH /svn/repo/!svn/wbl/UUID1/1814 HTTP/1.1
Host: server:8080
User-Agent: SVN/1.5.4 (r33841)/bzr1.15dev+bzr-svn0.6.0dev0 neon/0.28.2
Connection: TE
TE: trailers
Accept-Encoding: gzip
Content-Type: text/xml; charset=UTF-8
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Content-Length: 1759338
Accept-Encoding: gzip

Some XML data of a bzr merge containing a very long list of file revision ids

Reply:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>201 Created</title>
</head><body>
<h1>Created</h1>
<p>Checked-out resource /svn/repo/!svn/wbl/UUID1/1814 has been created.</p>
</body></html>
HTTP/1.1 413 Request Entity Too Large
Date: Mon, 18 May 2009 22:43:54 GMT
Server: Apache
Content-Length: 393
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource<br />/svn/repo/!svn/wbl/UUID1/1814<br />
does not allow request data with PROPPATCH requests, or the amount of data provided in
the request exceeds the capacity limit.
</body></html>

Revision history for this message
basur (basur-au) wrote :

I am not sure how many file-ids but there could easily be 10,000 given that we have a lot of files in our branch.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

You should be able to increase LimitXMLRequestBody in your apache config to to allow bigger changesets like this. I think the default is one megabyte.

(btw, does this bug report really have to private? it doesn't seem to contain much private data)

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

reassigning to subversion, as it "loses" the reason why the request failed and returns a generic request failed error.

affects: bzr-svn → subversion
basur (basur-au)
visibility: private → public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.