Merge lp:~jelmer/bzr-search/merge into lp:bzr-search

Proposed by Jelmer Vernooij
Status: Merged
Merged at revision: not available
Proposed branch: lp:~jelmer/bzr-search/merge
Merge into: lp:bzr-search
Diff against target: None lines
To merge this branch: bzr merge lp:~jelmer/bzr-search/merge
Reviewer Review Type Date Requested Status
Robert Collins Pending
Review via email: mp+7050@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Rob,

This patch fixes "bzr index" in my bzr repository, which contains some
ghosts.

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iJwEAQECAAYFAkom7vwACgkQDLQl4QYPZuWfNQP/SelVIePG3WNnpA3gUeyugA0E
EaBqWWT7Ph4zyeBY+mNJQTiSX06jH1P6S86rDHVDxDUqUojLM6sbFvyKXg7WinB5
YVvtL9xi9GslXYyB5FB322h3dwU+jzdURitwKvFaRF93E+m8HSsNvrsrYes3FZac
1WnHw/uVDvwovoHzPMU=
=S/U0
-----END PGP SIGNATURE-----

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'index.py'
2--- index.py 2009-06-03 01:41:11 +0000
3+++ index.py 2009-06-03 21:44:06 +0000
4@@ -699,7 +699,7 @@
5 fileids = revision_ids.setdefault(post[2], set())
6 fileids.add(post[1])
7 order = list(revision_ids)
8- order.sort(key=lambda revid:order_dict[revid])
9+ order.sort(key=lambda revid:order_dict.get(revid))
10 group_size = 100
11 groups = len(order) / group_size + 1
12 bar = ui.ui_factory.nested_progress_bar()

Subscribers

People subscribed via source and target branches

to all changes: