dpush succeeds, but logs error before completing

Bug #640873 reported by n[ate]vw
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Fix Released
High
Jelmer Vernooij

Bug Description

Using bzr 2.2.0, bzr-git 0.5.2, dulwich 0.6.1:
$ bzr dpush --remember git+ssh://<email address hidden>/natevw/ShutterStem.git
bzr: ERROR: This operation is not supported by the Git smart server protocol.

HOWEVER, when I go to github, my change has been pushed. It looks like it's just failing because of a revno lookup:

Thu 2010-09-16 15:14:09 -0700
0.070 bazaar version: 2.2.0
0.070 bzr arguments: [u'dpush', u'--remember', u'git+ssh://<email address hidden>/natevw/ShutterStem.git']
0.088 looking for plugins in /Users/nathan/.bazaar/plugins
0.147 looking for plugins in /Library/Python/2.6/site-packages/bzrlib/plugins
0.147 Plugin name git already loaded
0.155 encoding stdout as sys.stdout encoding 'UTF-8'
0.246 opening working tree '/Users/nathan/ShutterStem.git'
4.397 sending revisions set(['<email address hidden>'])
9.183 Packing repository GCRepositoryPackCollection(CHKInventoryRepository('file:///Users/nathan/ShutterStem.git/.bzr/repository/')), which has 3 pack files, containing 5 revisions with hint ['e884c4385f7769fb04c1a4b2f14b0e28'].
9.184 repacking 1 revisions
9.186 repacking 1 inventories
9.187 repacking chk: 1 id_to_entry roots, 1 p_id_map roots, 0 total keys
9.188 repacking 0 texts
9.188 repacking 0 signatures
12.933 Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 911, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1111, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 689, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 704, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/foreign.py", line 339, in run
    push_result.report(self.outf)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 3151, in report
    note('Pushed up to revision %d.' % self.new_revno)
  File "/Users/nathan/.bazaar/plugins/git/branch.py", line 416, in new_revno
    return self._lookup_revno(self.new_revid)
  File "/Users/nathan/.bazaar/plugins/git/branch.py", line 408, in _lookup_revno
    return self.target_branch.revision_id_to_revno(revid)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 1037, in revision_id_to_revno
    history = self.revision_history()
  File "/Users/nathan/.bazaar/plugins/git/remote.py", line 350, in revision_history
    raise GitSmartRemoteNotSupported()
GitSmartRemoteNotSupported: This operation is not supported by the Git smart server protocol.

12.934 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
12.934 return code 3

Related branches

Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: New → Triaged
importance: Undecided → High
Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: Triaged → Fix Released
assignee: nobody → Jelmer Vernooij (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.