Diffing a remote subversion branch timesout on fetching changes

Bug #785764 reported by ChrisCauser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Triaged
Low
Unassigned

Bug Description

When I have a checkout/branch of a subversion branch, for example trunk, when I issue the commands

bzr diff https://scm...../branches/dev-branch
bzr diff :parent

the system seems to endlessly download changes. The remote svn repository is 28MB, but if left, the terminal carries on downloading changes

100000kB 123kB/s - fetching changes for file ids 0/415

which then results in a memory error.

I am running
bzr: 2.4.0~bzr5863~ppa3932.3931~lucid1
bzr-svn: 1.1.0~bzr3717~ppa382~lucid1
svn: svn, version 1.6.15 (r1038135)

On the IRC, it was suggested that I mirror the two branches remotely and diff them:

bzr branch https://scm..../branches/dev
bzr branch https://scm..../trunk
bzr diff dev trunk
bzr: ERROR: Path "/home/<username>/repo/dev" is not a child of path "/home/<username>/repo/trunk"

where repo is the bzr repo I have local to the system. I understand this may be due to limitations due to working with svn but I thought I'd report it just in case anyone else has similar issues.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: New → Triaged
importance: Undecided → Low
Jelmer Vernooij (jelmer)
tags: added: diff performance
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

FWIW, you should be able to use "bzr diff -rbranch:dev trunk" to do the diffing if you have the branches locally.

Revision history for this message
ChrisCauser (chy-causer) wrote :

Thanks Jelmer, but I get the error message:

bzr: ERROR: Path "/home/<username>/repo/dev" is not a child of path "/home/<username>/repo/trunk"

I've seemed to manage without this functionality up 'til now, but I'm a little curious as to why this happens.

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

Chris, is that with the command I in my comment or with "bzr diff dev trunk" that you mentioned above?

Revision history for this message
ChrisCauser (chy-causer) wrote :

Ah, yes you're absolutely right, the command you give gives the diff as wanted.

Many thanks for that Jelmer.

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.