Merge lp:~jr/qbzr/785967-ghost-revisions-in-qlog into lp:qbzr
Proposed by
Jonathan Riddell
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alexander Belchenko | ||||
Approved revision: | 1418 | ||||
Merged at revision: | 1417 | ||||
Proposed branch: | lp:~jr/qbzr/785967-ghost-revisions-in-qlog | ||||
Merge into: | lp:qbzr | ||||
Diff against target: |
111 lines (+50/-42) 1 file modified
lib/log.py (+50/-42) |
||||
To merge this branch: | bzr merge lp:~jr/qbzr/785967-ghost-revisions-in-qlog | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Approve | ||
Alexander Belchenko | Approve | ||
Review via email: mp+69798@code.launchpad.net |
Description of the change
Catch ghost revisions in qlog's FileListContainer
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/29/2011 4:16 PM, Jonathan Riddell wrote: /bugs.launchpad .net/qbzr/ +bug/785967 /code.launchpad .net/~jr/ qbzr/785967- ghost-revisions -in-qlog/ +merge/ 69798
> Jonathan Riddell has proposed merging
> lp:~jr/qbzr/785967-ghost-revisions-in-qlog into lp:qbzr.
>
> Requested reviews: QBzr Developers (qbzr-dev) Related bugs: Bug
> #785967 in QBzr: "qlog does not handle ghost revisions"
> https:/
>
> For more details, see:
> https:/
>
> Catch ghost revisions in qlog's FileListContainer
The 'print' commands seem a bit unnecessary, was it just for debugging?
(and why does the timer exist in the first place, rather than just being
triggered by whatever was being loaded.)
I guess you leave it in a lot of other places as well. Can you just use
"trace.mutter()" instead? I realize most of the time qbzr statements
will go to a hidden terminal/ignored, but it feels a bit unclean to
leave print statements everywhere.
This also looks long and clumsy enough that it could be reasonably
refactored into more focused functions.
The change itself seems ok, as it mostly is just adding a try/except and
changing the indent.
So it would be nice to be cleaner, but I think it could land as is.
John enigmail. mozdev. org/
=:->
review: approve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk4 761oACgkQJdeBCY SNAANi6gCcC2w1/ f2MhhD1/ G8wwFNbZP27 drwKZ8CxtG02ua+ CJ
oOkAoIUGAGNhPAv
=9wMO
-----END PGP SIGNATURE-----