Mercurial > public > mercurial-scm > hg
changeset 52630:70b523d7a60d
git: mention indexing in indexing progress messages
It wasn't clear what was happening to the refs and commits. Adding
'indexing' to the message makes it immediately obvious.
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sat, 04 Jan 2025 09:00:03 -0500 |
parents | 7d2fc79a3e5a |
children | 482728ca94c1 |
files | hgext/git/index.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/git/index.py Sat Jan 04 08:45:28 2025 -0500 +++ b/hgext/git/index.py Sat Jan 04 09:00:03 2025 -0500 @@ -277,7 +277,7 @@ # Identify all references so we can tell the walker to visit all of them. all_refs = gitrepo.listall_references() possible_heads = set() - prog = progress_factory(b'refs') + prog = progress_factory(b'indexing refs') for pos, ref in enumerate(all_refs): if prog is not None: prog.update(pos) @@ -324,7 +324,7 @@ db.execute('DELETE FROM changelog') if prog is not None: prog.complete() - prog = progress_factory(b'commits') + prog = progress_factory(b'indexing commits') # This walker is sure to visit all the revisions in history, but # only once. pos = -1