/usr/share/pyshared/hgext/git/util.py is in mercurial-git 0.3.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | """Compatability functions for old Mercurial versions."""
def progress(ui, *args, **kwargs):
"""Shim for progress on hg < 1.4. Remove when 1.3 is dropped."""
getattr(ui, 'progress', lambda *x, **kw: None)(*args, **kwargs)
|