GitDefaultConflict: The default repository for 'project' is already set

Bug #1524316 reported by Iain Lane on 2015-12-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
William Grant

Bug Description

I got when trying to update the default git repository (using "Git repository") for the "geonames" project from "~larsu/geonames/+git/geonames-1" to "~geonames-dev/geonames/+git/geonames"

 GitDefaultConflict: The default repository for 'geonames' is already set to ~larsu/geonames/+git/geonames-1. Traceback (most recent call last):
  Module zope.publisher.publish, line 132, in publish
    result = publication.callObject(request, obj)
  Module, line 463, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  Module zope.publisher.publish, line 107, in mapply
    return debug_call(obj, args)
   - __traceback_info__: <security proxied zope.browserpage.metaconfigure.SimpleViewClass from /srv/ instance at 0x2b7e6fc6df90>
  Module zope.publisher.publish, line 113, in debug_call
    return obj(*args)
  Module, line 438, in __call__
  Module, line 136, in initialize
    self.form_result = form_action.success(data)
  Module zope.formlib.form, line 620, in success
    return self.success_handler(self.form, self, data)
  Module lp.registry.browser.product, line 1943, in update_action
    self.context, repo)
  Module, line 407, in permission_checker
    return func(self, *args, **kwargs)
  Module lp.code.model.gitrepository, line 1249, in setDefaultRepository
  Module lp.code.model.gitrepository, line 322, in setTargetDefault
    raise GitDefaultConflict(existing,
GitDefaultConflict: The default repository for 'geonames' is already set to ~larsu/geonames/+git/geonames-1.

Related branches

Iain Lane (laney) on 2015-12-09
description: updated
William Grant (wgrant) on 2015-12-09
Changed in launchpad:
importance: Undecided → Critical
status: New → Triaged
tags: added: easy git oops
Changed in launchpad:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant) on 2015-12-11
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant) on 2016-01-04
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers