Package: git-bzr
Version: 1:1.8.3.1-1
Severity: normal

git-bzr doesn't appear to be able to push to launchpad. This appears to
be a git-bzr issue rather than a bzr issue because I can branch and push
to launchpad just fine with bzr itself as you can see below.

pabs@chianamo ~/devel/misc $ mr checkout
mr checkout: /home/pabs/devel/misc/foxtrotgps
Cloning into 'foxtrotgps'...
Host key fingerprint is 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89

Doing on-the-fly conversion from RemoteRepositoryFormat(_network_name='Bazaar 
pack repository format 1 (needs bzr 0.92)\n') to RepositoryFormat2a().
This may take some time. Upgrade the repositories to the same format for better 
performance.
progress revision 100 'master' (100/238)
progress revision 200 'master' (200/238)

mr checkout: finished (1 ok; 35 skipped)
pabs@chianamo ~/devel/misc/foxtrotgps (master =) $ git remote -v
origin  bzr::lp:foxtrotgps (fetch)
origin  bzr::lp:foxtrotgps (push)

<edit some files and commit>

pabs@chianamo ~/devel/misc/foxtrotgps (master >) $ git push
Host key fingerprint is 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89

Doing on-the-fly conversion from RemoteRepositoryFormat(_network_name='Bazaar 
pack repository format 1 (needs bzr 0.92)\n') to RepositoryFormat2a().
This may take some time. Upgrade the repositories to the same format for better 
performance.
Doing on-the-fly conversion from RepositoryFormat2a() to 
RemoteRepositoryFormat(_network_name='Bazaar pack repository format 1 (needs 
bzr 0.92)\n').
This may take some time. Upgrade the repositories to the same format for better 
performance.
Traceback (most recent call last):
  File "/usr/bin/git-remote-bzr", line 959, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/git-remote-bzr", line 945, in main
    do_export(parser)
  File "/usr/bin/git-remote-bzr", line 701, in do_export
    peer.bzrdir.push_branch(branch, revision_id=revid)
  File "/usr/lib/python2.7/dist-packages/bzrlib/controldir.py", line 431, in 
push_branch
    overwrite, stop_revision=revision_id)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 1120, in push
    lossy, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3331, in push
    _override_hook_source_branch=_override_hook_source_branch)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 132, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in 
_do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3389, in 
_push_with_bound_branches
    result = self._basic_push(overwrite, stop_revision)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3350, in 
_basic_push
    graph=graph)
  File "<string>", line 4, in _update_revisions_write_locked
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3249, in 
_update_revisions
    self.fetch(stop_revision=stop_revision)
  File "<string>", line 4, in fetch_write_locked
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3226, in fetch
    fetch_spec=fetch_spec)
  File "/usr/lib/python2.7/dist-packages/bzrlib/remote.py", line 2157, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "<string>", line 4, in fetch_write_locked
  File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 2585, 
in fetch
    find_ghosts=find_ghosts)
  File "/usr/lib/python2.7/dist-packages/bzrlib/fetch.py", line 77, in __init__
    self.__fetch()
  File "/usr/lib/python2.7/dist-packages/bzrlib/fetch.py", line 104, in __fetch
    self._fetch_everything_for_search(search_result)
  File "/usr/lib/python2.7/dist-packages/bzrlib/fetch.py", line 122, in 
_fetch_everything_for_search
    "different rich-root support")
bzrlib.errors.IncompatibleRepositories: 
RemoteRepository(bzr+ssh://bazaar.launchpad.net/%2Bbranch/foxtrotgps/.bzr/)
is not compatible with
CHKInventoryRepository('file:///home/pabs/devel/misc/foxtrotgps/.git/bzr/.bzr/repository/')
different rich-root support
pabs@chianamo ~/devel/misc/foxtrotgps (master >) $ bzr branch lp:foxtrotgps
Host key fingerprint is 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89

Branched 238 revisions.                                                         
                                                           
pabs@chianamo ~/devel/misc/foxtrotgps (master %>) $ git show --stat
commit 76d02509d6690fa333416bc9e646451f0c55f292
Author: Paul Wise <pa...@bonedaddy.net>
Date:   Tue Jun 25 14:10:12 2013 +0800

    Fix some memory leaks

 src/geo_photos.c     | 1 +
 src/map_management.c | 3 +--
 src/tracks.c         | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)
pabs@chianamo ~/devel/misc/foxtrotgps (master %>) $ cp src/geo_photos.c 
src/map_management.c src/tracks.c foxtrotgps/src/
cp: overwrite `foxtrotgps/src/geo_photos.c'? y
cp: overwrite `foxtrotgps/src/map_management.c'? y
cp: overwrite `foxtrotgps/src/tracks.c'? y
pabs@chianamo ~/devel/misc/foxtrotgps (master %>) $ cd foxtrotgps/
pabs@chianamo ~/devel/misc/foxtrotgps/foxtrotgps (master %>) $ bzr commit
Committing to: /home/pabs/devel/misc/foxtrotgps/foxtrotgps/                     
                                                           
modified src/geo_photos.c
modified src/map_management.c
modified src/tracks.c
Committed revision 239.                                                         
                                                           
pabs@chianamo ~/devel/misc/foxtrotgps/foxtrotgps (master %>) $ bzr push :parent
Host key fingerprint is 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89

Pushed up to revision 239.                                                      
                

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-bzr depends on:
ii  git            1:1.8.3.1-1
ii  python         2.7.3-5
ii  python-bzrlib  2.6.0~bzr6574-1

Versions of packages git-bzr suggests:
ii  bzr      2.6.0~bzr6574-1
pn  git-doc  <none>

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to