[Bug 4729] New: When giving a ui instance to hg.peer, the created remoteui doesn't inherit some properties

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sat Jun 20 17:17:32 CDT 2015


http://bz.selenic.com/show_bug.cgi?id=4729

          Priority: normal
            Bug ID: 4729
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: When giving a ui instance to hg.peer, the created
                    remoteui doesn't inherit some properties
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: mh+hg at glandium.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: default branch
         Component: Mercurial
           Product: Mercurial

This wasn't visible before, but now that the progressbar is enabled by default,
it became visible.

Testcase:

from mercurial import hg, ui, changegroup
ui_ = ui.ui()
ui_.quiet = True
repo = hg.peer(ui_, {}, '/some/local/mercurial/repo')
print repo.ui.quiet # prints False
bundle = repo.getbundle(repo.heads())
while changegroup.getchunk(bundle): pass # prints a progress bar

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list