[MERGE][BUG] 51980: bzr log <file>returns inappropriate revisions
Kent Gibson
warthog618 at gmail.com
Thu Mar 15 17:12:17 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The attached patch is a fix for bug 51980 and 69477.
Sorry about the unfortunate timing on this one.
I don't intend it for 0.15, I just wanted to get it out there to see
if the approach is valid.
The fix was inspired by loggerhead. I wasn't sure that the file
change history it was listing was correct, and ran into #51980 while
trying to compare it to bzr log.
I ended up borrowing a couple of lines from loggerhead in the fix
(Robey you might notice some similarity to
get_short_revision_history_by_fileid. I hope that is ok with you).
The resulting fix is also much faster than the old (broken) version.
On my machine ``bzr log NEWS`` now completes in 2-3sec, compared to
~100sec.
As such I think it also fixes bug 69477.
Cheers,
Kent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF+X5wgoxTFTi1P8QRAi7/AKCGE5OU8TKCdlMXgjCZPRMmPc/rdgCgx58s
xINACy1H86O7LJyWLewtS9o=
=AP/9
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lp51980.patch
Type: text/x-patch
Size: 5485 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070316/62c03633/attachment.bin
More information about the bazaar
mailing list