not stacking when source branch doesn't support stacking, even though it states it will do

Bug #356699 reported by James Westby on 2009-04-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
High
Unassigned
Breezy
Medium
Unassigned

Bug Description

$ bzr -Dhpss push lp:~james-w/bzr/bzr.dev.known_hooks2
Source format does not support stacking, using format: 'Remote BZR Branch'
  bzr remote repository

Using default stacking branch /~bzr/bzr/trunk at bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/
Created new branch.
HPSS calls: 48 SmartSSHClientMedium(connected=False, username=u'james-w', host='bazaar.launchpad.net', port=None)

Repository tree (format: unnamed)
Location:
  shared repository: /home/jw2328/devel/bzr
  repository branch: .

Related branches:
  public branch: http://bazaar.launchpad.net/~james-w/bzr/bzr.dev.known_hooks
    push branch: bzr+ssh://<email address hidden>/~james-w/bzr/bzr.dev.known_hooks
  parent branch: /home/jw2328/devel/bzr/bzr.dev.hooks
  submit branch: /home/jw2328/devel/bzr/bzr.dev

cat ../.bzr/repository/format
Bazaar RepositoryFormatKnitPack6 (bzr 1.9)

Mon 2009-04-06 23:57:23 +0100
0.047 bzr arguments: [u'-Dhpss', u'push', u'lp:~james-w/bzr/bzr.dev.known_hooks2']
0.068 looking for plugins in /home/jw2328/.bazaar/plugins
0.213 looking for plugins in /home/jw2328/devel/bzr/bzr.dev/bzrlib/plugins
0.232 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.233 Plugin name launchpad already loaded
0.233 Plugin name netrc_credential_store already loaded
0.233 Plugin name bzrtools already loaded
0.233 Plugin name builddeb already loaded
0.274 encoding stdout as sys.stdout encoding 'UTF-8'
1.259 hpss: Built a new medium: SmartSSHClientMedium
1.260 hpss call: 'BzrDir.open', '~james-w/bzr/bzr.dev.known_hooks2/'
1.260 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
1.367 ssh implementation is OpenSSH
7.989 result: ('no',)
7.990 hpss call: 'mkdir', '/~james-w/bzr/bzr.dev.known_hooks2', ''
7.991 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
8.378 result: ('ok',)
8.379 hpss call: 'mkdir', '/~james-w/bzr/bzr.dev.known_hooks2', ''
8.379 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
8.490 result: ('FileExists', '/srv/bazaar.launchpad.net/push-branches/00/00/a5/08')
8.505 opening working tree '/home/jw2328/devel/bzr/bzr.dev.known_hooks'
8.508 hpss call: 'BzrDirFormat.initialize', '~james-w/bzr/bzr.dev.known_hooks2/'
8.508 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
8.555 result: ('ok',)
8.557 hpss call: 'BzrDir.open', '~james-w/bzr/bzr.dev.known_hooks2/'
8.557 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
8.600 result: ('yes',)
8.613 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch-format'
8.613 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
8.639 result: ('ok',)
8.640 35 body bytes read
8.641 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/control.conf'
8.641 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
8.714 result: ('NoSuchFile', '/srv/bazaar.launchpad.net/push-branches/00/00/a5/08/.bzr/control.conf')
8.715 hpss call: 'BzrDir.find_repositoryV3', '~james-w/bzr/bzr.dev.known_hooks2/'
8.716 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
9.203 result: ('norepository',)
9.206 hpss call: 'BzrDir.open', '~james-w/bzr/'
9.206 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
9.426 result: ('yes',)
9.427 hpss call: 'get', '/~james-w/bzr/.bzr/branch-format'
9.427 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
9.853 result: ('ok',)
9.854 35 body bytes read
9.855 hpss call: 'get', '/~james-w/bzr/.bzr/control.conf'
9.855 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
10.193 result: ('ok',)
10.194 35 body bytes read
10.195 hpss call: 'BzrDir.find_repositoryV3', '~james-w/bzr/'
10.195 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
10.710 result: ('norepository',)
10.712 hpss call: 'BzrDir.open', '~bzr/bzr/trunk/'
10.713 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
10.872 result: ('yes',)
10.873 hpss call: 'BzrDir.open_branchV2', '~bzr/bzr/trunk/'
10.873 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
10.966 result: ('branch', 'Bazaar Branch Format 7 (needs bzr 1.6)\n')
10.967 hpss call: 'BzrDir.find_repositoryV3', '~bzr/bzr/trunk/'
10.967 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
11.005 result: ('ok', '', 'no', 'no', 'yes', 'Bazaar RepositoryFormatKnitPack6 (bzr 1.9)\n')
11.006 hpss call: 'Branch.get_stacked_on_url', '~bzr/bzr/trunk/'
11.006 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
11.077 result: ('NotStacked',)
[15009] 2009-04-06 23:57:34.240 INFO: Source format does not support stacking, using format: 'Remote BZR Branch'
  bzr remote repository

[15009] 2009-04-06 23:57:34.246 INFO: Using default stacking branch /~bzr/bzr/trunk at bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/
11.086 hpss call: 'BzrDir.create_repository', '~james-w/bzr/bzr.dev.known_hooks2/', 'Bazaar pack repository format 1 (needs bzr 0.92)\n', 'True'
11.086 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
11.223 result: ('ok', 'no', 'no', 'no', 'Bazaar pack repository format 1 (needs bzr 0.92)\n')
11.225 hpss call: 'BzrDir.open', '~bzr/bzr/trunk/'
11.225 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
11.259 result: ('yes',)
11.260 hpss call: 'BzrDir.open_branchV2', '~bzr/bzr/trunk/'
11.260 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
11.302 result: ('branch', 'Bazaar Branch Format 7 (needs bzr 1.6)\n')
11.303 hpss call: 'BzrDir.find_repositoryV3', '~bzr/bzr/trunk/'
11.303 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
11.340 result: ('ok', '', 'no', 'no', 'yes', 'Bazaar RepositoryFormatKnitPack6 (bzr 1.9)\n')
11.341 hpss call: 'Branch.get_stacked_on_url', '~bzr/bzr/trunk/'
11.341 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
11.374 result: ('NotStacked',)
11.375 hpss call: 'Repository.set_make_working_trees', '~james-w/bzr/bzr.dev.known_hooks2/', 'True'
11.375 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
11.636 result: ('ok',)
11.651 hpss call: 'Repository.lock_write', '~james-w/bzr/bzr.dev.known_hooks2/', ''
11.651 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
11.704 result: ('ok', '')
11.706 Using fetch logic to copy between KnitPackRepository('file:///home/jw2328/devel/bzr/.bzr/repository/')(<RepositoryFormatKnitPack6>) and RemoteRepository(bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/.bzr/)(<RemoteRepositoryFormat>)
11.706 hpss call w/body stream: ('Repository.insert_stream', '~james-w/bzr/bzr.dev.known_hooks2/', '')
11.845 result: ('ok',)
11.845 hpss call w/body stream: ('Repository.insert_stream', '~james-w/bzr/bzr.dev.known_hooks2/', '')
2102.361 result: ('ok',)
2102.364 hpss call: 'BzrDir.create_branch', '~james-w/bzr/bzr.dev.known_hooks2/', 'Bazaar Branch Format 7 (needs bzr 1.6)\n'
2102.364 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.482 result: ('ok', 'Bazaar Branch Format 7 (needs bzr 1.6)\n', '', 'no', 'no', 'no', 'Bazaar pack repository format 1 (needs bzr 0.92)\n')
2102.484 hpss call: 'Branch.lock_write', '~james-w/bzr/bzr.dev.known_hooks2/', '', ''
2102.484 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.513 result: ('ok', 'r0kskggb8pelm8zlbcwr', '')
2102.514 hpss call: 'Branch.set_last_revision_info', '~james-w/bzr/bzr.dev.known_hooks2/', 'r0kskggb8pelm8zlbcwr', '', '4232', '<email address hidden>'
2102.514 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.563 result: ('ok',)
2102.565 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/bzr-search/format'
2102.565 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.630 result: ('NoSuchFile', '/srv/bazaar.launchpad.net/push-branches/00/00/a5/08/.bzr/bzr-search/format')
2102.641 hpss call: 'Branch.unlock', '~james-w/bzr/bzr.dev.known_hooks2/', 'r0kskggb8pelm8zlbcwr', ''
2102.641 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.716 result: ('ok',)
2102.737 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/format'
2102.740 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.766 result: ('ok',)
2102.766 39 body bytes read
2102.767 hpss call: 'stat', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch'
2102.767 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.813 result: ('stat', '4096', '040755')
2102.814 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/repository/format'
2102.815 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.840 result: ('ok',)
2102.841 49 body bytes read
2102.842 hpss call: 'stat', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/repository'
2102.842 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.887 result: ('stat', '4096', '040755')
2102.894 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/branch.conf'
2102.894 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2102.941 result: ('ok',)
2102.941 0 body bytes read
2102.945 hpss call: 'Repository.lock_write', '~james-w/bzr/bzr.dev.known_hooks2/', ''
2102.945 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.183 result: ('ok', '')
2103.184 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/repository/pack-names'
2103.184 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.244 result: ('ok',)
2103.244 126 body bytes read
2103.245 hpss call: 'mkdir', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/ze77kpksj1.tmp', ''
2103.245 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.288 result: ('ok',)
2103.294 hpss call w/body: 'put_non_atomic', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/ze77kpksj1.tmp/info', '', 'F', '' ('hostname: flash\nnonc'...)
2103.294 111 bytes
2103.346 result: ('ok',)
2103.347 hpss call: 'rename', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/ze77kpksj1.tmp', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/held'
2103.347 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.380 result: ('ok',)
2103.380 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/held/info'
2103.381 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.407 result: ('ok',)
2103.408 111 body bytes read
2103.409 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/branch.conf'
2103.409 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.452 result: ('ok',)
2103.453 0 body bytes read
2103.454 hpss call w/body: 'put', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/branch.conf', '' ('parent_location = fi'...)
2103.454 63 bytes
2103.480 result: ('ok',)
2103.484 hpss call: 'get', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/held/info'
2103.485 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.526 result: ('ok',)
2103.527 111 body bytes read
2103.527 hpss call: 'rename', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/held', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/releasing.8vd2w88p49yvlrymc9pg.tmp'
2103.527 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.596 result: ('ok',)
2103.597 hpss call: 'delete', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/releasing.8vd2w88p49yvlrymc9pg.tmp/info'
2103.597 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.631 result: ('ok',)
2103.631 hpss call: 'rmdir', '/~james-w/bzr/bzr.dev.known_hooks2/.bzr/branch/lock/releasing.8vd2w88p49yvlrymc9pg.tmp'
2103.631 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.655 result: ('ok',)
2103.656 hpss call: 'Branch.get_stacked_on_url', '~james-w/bzr/bzr.dev.known_hooks2/'
2103.656 (to bzr+ssh://bazaar.launchpad.net/%7Ejames-w/bzr/bzr.dev.known_hooks2/)
2103.704 result: ('NotStacked',)
[15009] 2009-04-07 00:32:26.870 INFO: Created new branch.
2103.708 return code 0
[15009] 2009-04-07 00:32:26.870 INFO: HPSS calls: 48 SmartSSHClientMedium(connected=False, username=u'james-w', host='bazaar.launchpad.net', port=None)

Jonathan Lange (jml) wrote :

What version of Bazaar are you using?

James Westby (james-w) wrote :

jw2328@flash:bzr/bzr.dev.known_hooks:10003:0% bzr --version
Bazaar (bzr) 1.14dev
  from bzr checkout /home/jw2328/devel/bzr/bzr.dev
    revision: 4258
    revid: <email address hidden>
    branch nick: bzr.dev
  Python interpreter: /usr/bin/python 2.6.1
  Python standard library: /usr/lib/python2.6
  bzrlib: /home/jw2328/devel/bzr/bzr.dev/bzrlib
  Bazaar configuration: /home/jw2328/.bazaar
  Bazaar log file: /home/jw2328/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

% bzr info -v
Repository tree (format: unnamed)
Location:
  shared repository: /home/jw2328/devel/bzr
  repository branch: .

Related branches:
  public branch: http://bazaar.launchpad.net/~james-w/bzr/bzr.dev.known_hooks
    push branch: bzr+ssh://<email address hidden>/~james-w/bzr/bzr.dev.known_hooks
  parent branch: /home/jw2328/devel/bzr/bzr.dev.hooks
  submit branch: /home/jw2328/devel/bzr/bzr.dev

Format:
       control: Meta directory format 1
  working tree: Working tree format 4
        branch: Branch format 6
    repository: Packs 6 (uses btree indexes, requires bzr 1.9)

In the working tree:
       979 unchanged
         0 modified
         0 added
         0 removed
         0 renamed
         0 unknown
         0 ignored
        77 versioned subdirectories

Branch history:
      4232 revisions
      1380 days old
   first revision: Sun 2005-06-26 16:55:27 -0500
  latest revision: Mon 2009-04-06 23:31:35 +0100

Repository:
     23486 revisions

James Westby (james-w) wrote :

This was also present with revision 4230.

Thanks,

James

On Tue, 2009-04-07 at 00:08 +0000, James Westby wrote:
> branch: Branch format 6
> repository: Packs 6 (uses btree indexes, requires bzr 1.9)

So, this is the opposite bad-combo to the one that 4174 fixed :(.

-Rob

Ah, so it's creating a default branch remotely that doesn't support
stacking? Is that because the local branch format doesn't support
stacking?

I'm surprised that I ended up with a local branch format that doesn't
support stacking. I was sure we had bumped the default by now.

Thanks,

James

On Tue, 2009-04-07 at 21:18 +0000, James Westby wrote:
> Ah, so it's creating a default branch remotely that doesn't support
> stacking? Is that because the local branch format doesn't support
> stacking?

A bug somewhere. we're meant to upgrade under certain conditions; but
the presence of partially stackable environments has prevented it.

> I'm surprised that I ended up with a local branch format that doesn't
> support stacking. I was sure we had bumped the default by now.

Not yet, no.

-Rob

James Westby (james-w) on 2009-04-17
summary: - not stacking when pushing to launchpad
+ not stacking when local branch doesn't support stacking, even though it
+ claims to
summary: not stacking when local branch doesn't support stacking, even though it
- claims to
+ states it will do
summary: - not stacking when local branch doesn't support stacking, even though it
+ not stacking when source branch doesn't support stacking, even though it
states it will do
Martin Pool (mbp) on 2009-05-07
Changed in bzr:
importance: Undecided → High
status: New → Confirmed
Jelmer Vernooij (jelmer) on 2011-02-01
tags: added: stacking
Jelmer Vernooij (jelmer) on 2017-11-08
tags: added: check-for-breezy
Jelmer Vernooij (jelmer) on 2017-11-11
tags: removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → High
importance: High → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers