[Bug 4994] New: Progress can print negative time values

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed Dec 9 15:10:37 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=4994

            Bug ID: 4994
           Summary: Progress can print negative time values
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: matt_harbison at yahoo.com
                CC: mercurial-devel at selenic.com

I've seen this on occasion in the past as well (so it isn't a recent problem).
I don't know the exact circumstances, but can reproduce it on demand this
morning pulling from clowncopter.  I started with 42aa0e570eaa from the main
repo, and updated to a9f657bc38d3 from clowncopter.  A raw `hg pull
clowncopter` will show:

preparing locally    [    ] 28303     01s
comparing with other [    ] 28303     01s
changesets [              ] 27298     01s
manifests  [              ] 27xxx/11 -17s
files      [              ] 2337/11  -24s

These lines disappear, so I'm not sure what the final number is for the
manifest line before it is overwritten.

The final output is:

  $ hg pull clowncopter
  pulling from http://hg.netv6.net/clowncopter/
  searching for changes
  adding changesets
  adding manifests
  adding file changes
  added 11 changesets with 12 changes to 2337 files (+2 heads)
  13 new obsolescence markers
  updating bookmark @
  (run 'hg heads .' to see heads, 'hg merge' to merge)
  working directory parent is obsolete!
  (use "hg evolve" to update to its successor)

It ends up pulling 73a43b18e253 (default) and 59d5f619e69e (stable) heads,
which aren't merged.

`hg rollback` will reset things such that pulling again will show the same
problem.  I don't see the progress bar at all on my Mac for the problem lines,
but it is much faster than the PC I'm using.  I'm certain I've seen this
outside of Windows before.

FWIW, I'm using evolve ed63bf62ff02.  The obsolete wdir warning is because it
looks like a9f657bc38d3^ was amended since I last pulled from clowncopter,
giving me 2 visible obsoletes.

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


More information about the Mercurial-devel mailing list