Merge lp:~mbp/bzr/456077-cross-format-fetch into lp:bzr/2.0
| Status: | Merged |
|---|---|
| Approved by: | John A Meinel on 2010-03-03 |
| Approved revision: | 4748 |
| Merged at revision: | not available |
| Proposed branch: | lp:~mbp/bzr/456077-cross-format-fetch |
| Merge into: | lp:bzr/2.0 |
| Diff against target: |
340 lines (+128/-27) 8 files modified
NEWS (+6/-0) bzrlib/repository.py (+12/-10) bzrlib/smart/repository.py (+0/-7) bzrlib/tests/blackbox/test_branch.py (+4/-0) bzrlib/tests/test_ui.py (+29/-1) bzrlib/ui/__init__.py (+56/-7) bzrlib/ui/text.py (+14/-1) bzrlib/upgrade.py (+7/-1) |
| To merge this branch: | bzr merge lp:~mbp/bzr/456077-cross-format-fetch |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Andrew Bennetts | uifactory | 2010-02-24 | Approve on 2010-02-25 |
| bzr-core | 2010-02-25 | Pending | |
|
Review via email:
|
|||
Commit Message
(mbp) give a clearer warning about cross-format conversions earlier in fetch
| Martin Pool (mbp) wrote : | # |
- 4741. By Martin Pool on 2010-02-24
-
Branching that does an implicit conversion now shows the fetch warning
- 4742. By Martin Pool on 2010-02-24
-
Also show conversion warning for InterDifferingS
erializer
| Martin Pool (mbp) wrote : | # |
https:/
- 4743. By Martin Pool on 2010-02-25
-
Generalize to ui_factory.
show_user_ warning - 4744. By Martin Pool on 2010-02-25
-
Suppress user warnings about cross-format fetch during upgrade
- 4745. By Martin Pool on 2010-02-25
-
Update test_ui for warning suppression
- 4746. By Martin Pool on 2010-02-25
-
Rename squelched to suppressed
- 4747. By Martin Pool on 2010-02-25
-
update news
- 4748. By Martin Pool on 2010-02-25
-
Restore UIFactory.
warn_cross_ format_ fetch in case it's used by an API client
| Andrew Bennetts (spiv) wrote : | # |
On IRC Martin asked me to look at the UIFactory changes, i.e. the new show_user_
I haven't yet really looked at the part of the patch that emits warnings about slow fetches, although removing code from bzrlib/smart is a promising sign :)
| Martin Pool (mbp) wrote : | # |
On 25 February 2010 17:12, Andrew Bennetts
<email address hidden> wrote:
> Review: Approve uifactory
> On IRC Martin asked me to look at the UIFactory changes, i.e. the new show_user_
I was planning to build on addCleanup etc, but this isn't in 2.0 where
this is targeted.
It might be nice if there was a contextmanager-like object for "with a
warning suppressed".
--
Martin <http://
| Martin Pool (mbp) wrote : | # |
As a followon, when this merges to trunk, it can take https:/
| Vincent Ladeuil (vila) wrote : | # |
>>>>> Martin Pool <email address hidden> writes:
> As a followon, when this merges to trunk, it can take
> https:/
> 2.1 and later we have a config.
> let you turn them on/off per location; presumably that should be
> checked before going into the uifactory.
On a semi-related subject, we miss a config object that can
search either bazaar.conf or locations.conf.
So far, we can do either:
- global config,
- global + locations + branch.
Vincent
| Andrew Bennetts (spiv) wrote : | # |
Vincent Ladeuil wrote:
> >>>>> Martin Pool <email address hidden> writes:
>
> > As a followon, when this merges to trunk, it can take
> > https:/
> > 2.1 and later we have a config.
> > let you turn them on/off per location; presumably that should be
> > checked before going into the uifactory.
>
> On a semi-related subject, we miss a config object that can
> search either bazaar.conf or locations.conf.
>
> So far, we can do either:
> - global config,
> - global + locations + branch.
That's true. I actually have code more-or-less like this in bzr-pqm of all
places, but have lacked the tuits to extract it into something appropriate for
bzrlib. See the StackedConfig class in pqm_submit.py:
<http://
-Andrew.
| John A Meinel (jameinel) wrote : | # |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vincent Ladeuil wrote:
>>>>>> Martin Pool <email address hidden> writes:
>
> > As a followon, when this merges to trunk, it can take
> > https:/
> > 2.1 and later we have a config.
> > let you turn them on/off per location; presumably that should be
> > checked before going into the uifactory.
>
> On a semi-related subject, we miss a config object that can
> search either bazaar.conf or locations.conf.
>
> So far, we can do either:
> - global config,
> - global + locations + branch.
>
> Vincent
Not true, LocationConfig is global + locations without Branch. We just
don't have it obviously exposed.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAku
VMkAoL82qA72xaH
=FcJC
-----END PGP SIGNATURE-----
| Vincent Ladeuil (vila) wrote : | # |
@Martin, is this ready to land ?
| Martin Pool (mbp) wrote : | # |
| Martin Pool (mbp) wrote : | # |
- 4749. By Martin Pool on 2010-03-17
-
merge news

This fixes https:/ /bugs.edge. launchpad. net/bzr/ +bug/456077 properly by giving a message about cross-format conversions earlier in fetch, and https:/ /bugs.edge. launchpad. net/bzr/ +bug/515356 by showing the remote repository network name.