def show_versions(dir, x, y): fs = BzrAccess(dir) bit_uri = os.path.join("bits", "%s-%s" % (y, x)) return fs.revisions(bit_uri)