Remote upgrade not triggering rescans

Bug #660695 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

I ran "bzr upgrade --default lp:configglue" on Sept 23, and having no new revisions at this time, has still not rescanned. Thus, it shows "Bazaar RepositoryFormatKnitPack5 (bzr 1.6)" for "Repository format:" on the branch web page.

https://code.edge.launchpad.net/~configglue/configglue/trunk

Thu 2010-09-23 11:09:34 -0400
0.025 bazaar version: 2.2.0
0.025 bzr arguments: [u'upgrade', u'--default', u'lp:configglue']
0.034 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.100 encoding stdout as sys.stdout encoding 'UTF-8'
1.058 ssh implementation is OpenSSH
34.674 creating repository in bzr+ssh://bazaar.launchpad.net/%2Bbranch/configglue/.bzr/.
37.594 Using fetch logic to copy between KnitPackRepository('bzr+ssh://bazaar.launchpad.net/%2Bbranch/configglue/.bzr/repository.backup/')(RepositoryFormatKnitPack5()) and CHKInventoryRepository('bzr+ssh://bazaar.launchpad.net/%2Bbranch/configglue/.bzr/repository/')(RepositoryFormat2a())
37.594 fetch up to rev {None}
67.750 Packing repository GCRepositoryPackCollection(CHKInventoryRepository('bzr+ssh://bazaar.launchpad.net/%2Bbranch/configglue/.bzr/repository/')), which has 1 pack files, containing 43 revisions with hint ['b57c0f1761c166bd958a5b9a849c8ae3'].
67.941 repacking 43 revisions
68.157 repacking 43 inventories
68.795 repacking chk: 43 id_to_entry roots, 9 p_id_map roots, 52 total keys
69.802 repacking 178 texts
70.224 repacking 31 signatures
90.112 Transferred: 1235kB (13.9kB/s r:716kB w:520kB)
90.113 return code 0

Revision history for this message
Aaron Bentley (abentley) wrote :

I can't reproduce this. I created a branch in pack-0.92, let it get scanned, upgraded it, and it showed the correct repository format.

Changed in launchpad-code:
status: New → Incomplete
Aaron Bentley (abentley)
tags: added: branch-scanner
Revision history for this message
Aaron Bentley (abentley) wrote :

<dobey> abentley: interesting. i see that as well on another branch i tried. and yet another i tried, has the right branch format, but still says KnitPack6
<abentley> dobey: you mean, you just created a new branch in KnitPack6, upgraded it, and it's showing the wrong data?
<dobey> abentley: no, i found a branch already on lp which i already owned, which was in the old format, and upgraded it
<abentley> dobey: but you upgraded it just now? Okay, maybe it's something to do with the format.
<dobey> yes
<dobey> abentley: it seems that things that are already BranchFormat7, exhibit the issue of showing the old Repository format info
<abentley> dobey: aha!
<dobey> abentley: and BranchFormat6 branches seem to always show BranchFormat6, but the Repository format gets updated

Changed in launchpad-code:
status: Incomplete → Triaged
importance: Undecided → Medium
Revision history for this message
Aaron Bentley (abentley) wrote :

Steps to reproduce:
$ bzr init --1.14 old-format2
Created a standalone tree (format: 1.14)
abentley@lumpy:~$ cd old-format2/
abentley@lumpy:~/old-format2$ bzr commit --unchanged -mfoo
Committing to: /home/abentley/old-format2/

You need a passphrase to unlock the secret key for
user: "Aaron Bentley <email address hidden>"
1024-bit DSA key, ID 5616A88D, created 2004-12-08

Committed revision 1.
abentley@lumpy:~/old-format2$ bzr push lp:~abentley/+junk/old-format2
Created new branch.
abentley@lumpy:~/old-format2$ bzr info -v nosmart+lp:~abentley/+junk/old-format2
Standalone branch (format: 1.14)
Location:
  branch root: nosmart+bzr+ssh://bazaar.launchpad.net/~abentley/%2Bjunk/old-format2/

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

Branch history:
         1 revision
         0 days old
   first revision: Thu 2010-10-14 14:28:45 -0400
  latest revision: Thu 2010-10-14 14:28:45 -0400

Repository:
         1 revision
$ bzr lp-open lp:~abentley/+junk/old-format2Opening https://code.launchpad.net/~abentley/+junk/old-format2 in web browser
$ bzr upgrade lp:~abentley/+junk/old-format2
starting upgrade of bzr+ssh://bazaar.launchpad.net/~abentley/%2Bjunk/old-format2/
making backup of bzr+ssh://bazaar.launchpad.net/~abentley/%2Bjunk/old-format2/.bzr
  to bzr+ssh://bazaar.launchpad.net/~abentley/%2Bjunk/old-format2/backup.bzr.~1~
starting repository conversion
repository converted
finished
$ bzr info -v nosmart+lp:~abentley/+junk/old-format2
Standalone branch (format: 2a)
Location:
  branch root: nosmart+bzr+ssh://bazaar.launchpad.net/~abentley/%2Bjunk/old-format2/

Format:
       control: Meta directory format 1
        branch: Branch format 7
    repository: Repository format 2a - rich roots, group compression and chk inventories

Branch history:
         1 revision
         0 days old
   first revision: Thu 2010-10-14 14:28:45 -0400
  latest revision: Thu 2010-10-14 14:28:45 -0400

Repository:
         1 revision

Changed in launchpad:
importance: Medium → High
Revision history for this message
Robert Collins (lifeless) wrote :

Since this is cosmetic and not causing significant grief, I'm dropping to low.

Changed in launchpad:
importance: High → Medium
importance: Medium → Low
Curtis Hovey (sinzui)
tags: added: branches upgrade
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.