[Bug 3892] New: update output changed breaking hglib

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Apr 18 04:35:20 CDT 2013


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

          Priority: normal
            Bug ID: 3892
          Keywords: regression
                CC: mercurial-devel at selenic.com, natosha at gmail.com
          Assignee: bugzilla at selenic.com
           Summary: update output changed breaking hglib
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: benoit at aeteurope.nl
          Hardware: All
            Status: UNCONFIRMED
           Version: 2.5
         Component: largefiles
           Product: Mercurial

When updating a repository with largefiles, the output of ``hg update`` changed
between 2.4.2 and 2.5.2 (Don't know the exact revision).

Previous version had the largefile message below the mercurial message::

    30 files updated, 0 files merged, 0 files removed, 0 files unresolved
    getting changed largefiles
    27 largefiles updated, 0 removed

Newer version output the message from largefile above the one from mercurial::

    getting changed largefiles
    27 largefiles updated, 0 removed
    30 files updated, 0 files merged, 0 files removed, 0 files unresolved

This leads to a ValueError inside hgclient.update() simmilar to the one
reported in issue3502::

    Traceback (most recent call last):
      ...
      File "/Library/Python/2.7/site-packages/hglib/client.py", line 1512, in
update
        return tuple(int(s.split(' ', 1)[0]) for s in counters)
      File "/Library/Python/2.7/site-packages/hglib/client.py", line 1512, in
<genexpr>
        return tuple(int(s.split(' ', 1)[0]) for s in counters)
    ValueError: invalid literal for int() with base 10: 'getting'

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


More information about the Mercurial-devel mailing list