It would be very handy if I could ask mercurial to print the summaries of changesets as it transfers them in a pull, push, or fetch command. e.g., "hg pull -v" (for verbose). Daniel
* Daniel Burrows <dburrows@debian.org> [20070620 16:17]: JFYI: We (the grml-team) have a hook which does something like that: http://hg.grml.org/grml-mercurial-utils/file/tip/hgext/consolenotify.py When pushing to the server and with activated hook consolenotify.py it looks like: % hg push pushing to ssh://$SERVER/$PATH/TO/$REPOS searching for changes http://hg.grml.org/grml2hd/rev/b5e92bbda9a3 - grml2hd-bootparams: mention grub as well remote: adding changesets remote: adding manifests remote: adding file changes remote: added 1 changesets with 3 changes to 3 files % But would be really nice to have something like that available in upstream. regards, -mika-
* Daniel Burrows <dburrows@debian.org> [20070620 15:43]:
Just adding a self.ui.write('.\n') at the place where a changelog
entry is transfered raises the time to clone the mercurial
repository (~4600 changesets) over a local network from 13 to more
than 50 seconds.
Additionally changesets are not transferred at once, first all
(usually small) changelog entries get transfered, then all
manifests, then all file content changes, so you won't get something
like a progress indicator, but many lines at once and then again
nothing.
A progress bar is something else and desired, see
http://www.selenic.com/mercurial/bts/issue164
Of course we have to make sure the progress bar display isn't
updated for every transferred changelog entry, manifest or file
content change, but only when the next character is to be displayed,
otherwise this will get slow again.
Thomas
On Thu, Jun 21, 2007 at 06:13:54PM +0200, Thomas Arendsen Hein <thomas@intevation.de> was heard to say:
(a) I am not talking about transferring sets of thousands of changesets,
I am talking about the <10 that get transferred on a typical
push/pull.
(b) I don't want a progress indicator. I want to see what the titles
of the changesets Mercurial downloaded are, so I can save grovelling
through the "hg log" output and trying to work out which changesets
are from the last update and which ones I already had.
(c) I didn't talk about making it a default (although I would not
oppose this), I'm happy if you add a command-line option to enable
it.
Daniel
Hi,
Here is the Debian wish bug #429829 ( http://bugs.debian.org/429829 )
As you can see in the mails, the submitter does not want a progress
indication (ie this is not issue164 http://www.selenic.com/mercurial/bts/issue164 )
but wants instead the summaries of transfered changesets.
Michael Prokop proposes an extension that print these summaries
for pull operations (with an hook)
Best regards,
Vincent
Daniel Burrows wrote:
Michael Prokop wrote: