ability to limit paths searched by lookup_revision_id()

Bug #158657 reported by Jelmer Vernooij
28
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Medium
Jelmer Vernooij

Bug Description

lookup_revision_id() will currently do a scan of the full repository using find_branches() in order to prove that a particular revision id does not exist yet.

it should be possible to restrict somewhat what paths it will search, also because of corrupt repositories or to work around broken revisions that have been pushed.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
assignee: nobody → jelmer
importance: Undecided → Medium
milestone: none → 0.4.4
status: New → Triaged
Revision history for this message
David Allouche (ddaa) wrote :

Another case where scanning the full repository is not desirable is when parts of the repository are inaccessible to the user for lack of permissions.

Some people who could benefit from bzr-svn are working on corporate svn repos where read access is granted on a need-to-know basis.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: 0.4.4 → 0.4.12
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Already partially done - the main bit remaining now is passing a project value to lookup_revision_id() where necessary.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Implemented in trunk.

Changed in bzr-svn:
milestone: 0.4.12 → 0.5.0
status: Triaged → Fix Committed
Revision history for this message
David Allouche (ddaa) wrote :

Great news. I'll try using it (in place of my own hacked up branching scheme) as soon as I have few round tuits. That is probably not before October.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
Revision history for this message
David Allouche (ddaa) wrote :

For the record, the fix in the new version of bzr-svn works for me. It involves using the mapping version 4.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.