Updating sourcecode directory when it is a no-op is unnecessarily slow

Bug #643715 reported by Gary Poster on 2010-09-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Gary Poster

Bug Description

When a local tree exists for one of the branches in the sourcecode directory, you can quickly and easily find what the revno of the tree is. That's what bzr revno does. Instead, we always open the remote branch, which is unnecessarily slow when the current revno and the desired revno match.

Related branches

Gary Poster (gary) wrote :
Gary Poster (gary) wrote :

Unfortunately abentley says this is not safe:

abentley: gary_poster, your patch is treating revnos as if they were revision-ids. It will fail to do an update if the definition of the revno has changed.
gary_poster: abentley: agreed, but when would that happen for this use case
abentley: gary_poster, if someone uncommits a revision.
gary_poster: ew, didn't know you could do that with a public branch but I guess that makes sense within the model
gary_poster: ok, that's a shame, but if that's a reasonable concern then we should just drop it. thanks for the look abentley

Changed in launchpad-foundations:
importance: Low → Undecided
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers