pushing on top of non-lhs parent fails

Bug #131692 reported by James Y Knight
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
High
Jelmer Vernooij

Bug Description

I'm using the latest version of the http://people.samba.org/bzr/jelmer/bzr-svn/0.4/ branch.

#!/bin/sh
set -e
set -x

mkdir test-bzr-svn
cd test-bzr-svn

BASE=$PWD

# Create SVN repository
svnadmin create svnrepo
svn co file://$BASE/svnrepo/ svn
cd svn
echo "asdf" > foo
svn add foo
svn ci -m "first commit"

# Make a branch in BZR, and commit stuff to it:
cd $BASE
bzr branch file://$BASE/svnrepo bzr
cd bzr
echo "sdfg" >> foo
bzr add foo
bzr ci -m "bzr add to foo"
cd ..

# Make a commit in svn.
cd $BASE/svn
echo "newfile!" > newfile
svn add newfile
svn ci -m "added newfile with svn"

cd $BASE/bzr
bzr merge file://$BASE/svnrepo/
bzr ci -m "Merge from svn"
# THIS FAILS with error:
# bzr: ERROR: These branches have diverged. Try using "merge" and then "push".
bzr push file://$BASE/svnrepo/

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 131692] bzr push fails

Thanks for the detailed bug report.

  summary "pushing on top of non-lhs parent fails"
  status triaged
  importance high
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Changed in bzr-svn:
importance: Undecided → High
status: New → Triaged
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
assignee: nobody → jelmer
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 131692] Re: pushing on top of non-lhs parent fails

  status fixcommitted
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Changed in bzr-svn:
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
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.