Can't pull tree with no revisions

Bug #608485 reported by Kevin Hjelden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Team Foundation Server support for Bazaar
Fix Released
Medium
John C Barstow

Bug Description

Gives an out-of-range index error

The code in repository.py doesn't check to see if cache_info is populated before using it to initialize repository_max/min

Related branches

Revision history for this message
Kevin Hjelden (fryguy) wrote :

I'm not sure exactly how this works, but this code change fixed it

Revision history for this message
John C Barstow (jbowtie) wrote :

I can't see any code at that location; did you push to it yet?

Without seeing code, I'll need more details - ideally a cut-and-paste of the backtrace.

Changed in bzr-tfs:
status: New → Incomplete
Revision history for this message
Kevin Hjelden (fryguy) wrote :

Sorry, my development repository format is still in --1.14-rich-root, and I haven't upgraded yet (which coincidentally caused other kinds of problems trying to get this to work). I had pushed it, but it didn't show up because of that. I tried to upgrade it, but it was going on forever, so I just made a new branch.

John C Barstow (jbowtie)
Changed in bzr-tfs:
status: Incomplete → Confirmed
assignee: nobody → John C Barstow (jbowtie)
importance: Undecided → Medium
description: updated
Revision history for this message
John C Barstow (jbowtie) wrote :

Thanks for that; it's clear from looking at your branch where the bug is; I'll commit a proper fix when I'm in my development environment - there just needs to be conditional inclusion of the cache_info in that expression.

John C Barstow (jbowtie)
Changed in bzr-tfs:
status: Confirmed → Fix Committed
John C Barstow (jbowtie)
Changed in bzr-tfs:
milestone: none → 0.2
John C Barstow (jbowtie)
Changed in bzr-tfs:
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.