Debian Bug report logs - #429829
Option to see changeset summaries in push/pull/fetch

version graph

Package: mercurial; Maintainer for mercurial is Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>; Source for mercurial is src:mercurial.

Reported by: Daniel Burrows <dburrows@debian.org>

Date: Wed, 20 Jun 2007 13:27:01 UTC

Severity: wishlist

Tags: upstream

Found in version mercurial/0.9.3-2

Forwarded to http://www.selenic.com/mercurial/bts/issue818

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Vincent Danjean <vdanjean@debian.org>:
Bug#429829; Package mercurial. Full text and rfc822 format available.

Acknowledgement sent to Daniel Burrows <dburrows@debian.org>:
New Bug report received and forwarded. Copy sent to Vincent Danjean <vdanjean@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Daniel Burrows <dburrows@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Option to see changeset summaries in push/pull/fetch
Date: Wed, 20 Jun 2007 06:18:08 -0700
Package: mercurial
Version: 0.9.3-2
Severity: wishlist

  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

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mercurial depends on:
ii  libc6                         2.5-11     GNU C Library: Shared libraries
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-support                0.6.4      automated rebuilding support for p
ii  python2.4                     2.4.4-4    An interactive high-level object-o

Versions of packages mercurial recommends:
ii  kdiff3                        0.9.92-1   compares and merges 2 or 3 files o
ii  tk8.3 [wish]                  8.3.5-6    Tk toolkit for Tcl and X11, v8.3 -
ii  tk8.4 [wish]                  8.4.12-1   Tk toolkit for Tcl and X11, v8.4 -
ii  tkdiff                        1:4.1.3-1  graphical side by side "diff" util

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Vincent Danjean <vdanjean@debian.org>:
Bug#429829; Package mercurial. Full text and rfc822 format available.

Acknowledgement sent to Michael Prokop <mika@grml.org>:
Extra info received and forwarded to list. Copy sent to Vincent Danjean <vdanjean@debian.org>. Full text and rfc822 format available.

Message #10 received at 429829@bugs.debian.org (full text, mbox):

From: Michael Prokop <mika@grml.org>
To: Daniel Burrows <dburrows@debian.org>, 429829@bugs.debian.org
Subject: Re: Bug#429829: Option to see changeset summaries in push/pull/fetch
Date: Thu, 21 Jun 2007 17:30:34 +0200
[Message part 1 (text/plain, inline)]
* Daniel Burrows <dburrows@debian.org> [20070620 16:17]:

>   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).

ACK

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-
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Vincent Danjean <vdanjean@debian.org>:
Bug#429829; Package mercurial. Full text and rfc822 format available.

Acknowledgement sent to Thomas Arendsen Hein <thomas@intevation.de>:
Extra info received and forwarded to list. Copy sent to Vincent Danjean <vdanjean@debian.org>. Full text and rfc822 format available.

Message #15 received at 429829@bugs.debian.org (full text, mbox):

From: Thomas Arendsen Hein <thomas@intevation.de>
To: Daniel Burrows <dburrows@debian.org>, 429829@bugs.debian.org
Subject: Re: Bug#429829: Option to see changeset summaries in push/pull/fetch
Date: Thu, 21 Jun 2007 18:13:54 +0200
* Daniel Burrows <dburrows@debian.org> [20070620 15:43]:
>   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).

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

-- 
thomas@intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner



Information forwarded to debian-bugs-dist@lists.debian.org, Vincent Danjean <vdanjean@debian.org>:
Bug#429829; Package mercurial. Full text and rfc822 format available.

Acknowledgement sent to Daniel Burrows <dburrows@debian.org>:
Extra info received and forwarded to list. Copy sent to Vincent Danjean <vdanjean@debian.org>. Full text and rfc822 format available.

Message #20 received at 429829@bugs.debian.org (full text, mbox):

From: Daniel Burrows <dburrows@debian.org>
To: Thomas Arendsen Hein <thomas@intevation.de>
Cc: 429829@bugs.debian.org
Subject: Re: Bug#429829: Option to see changeset summaries in push/pull/fetch
Date: Thu, 21 Jun 2007 21:59:29 -0700
On Thu, Jun 21, 2007 at 06:13:54PM +0200, Thomas Arendsen Hein <thomas@intevation.de> was heard to say:
> * Daniel Burrows <dburrows@debian.org> [20070620 15:43]:
> >   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).
> 
> 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) 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



Information forwarded to debian-bugs-dist@lists.debian.org, Vincent Danjean <vdanjean@debian.org>:
Bug#429829; Package mercurial. Full text and rfc822 format available.

Acknowledgement sent to Vincent Danjean <Vincent.Danjean@ens-lyon.org>:
Extra info received and forwarded to list. Copy sent to Vincent Danjean <vdanjean@debian.org>. Full text and rfc822 format available.

Message #25 received at 429829@bugs.debian.org (full text, mbox):

From: Vincent Danjean <Vincent.Danjean@ens-lyon.org>
To: Mercurial issue tracker <mercurial-bugs@selenic.com>
Cc: Daniel Burrows <dburrows@debian.org>, 429829@bugs.debian.org, Michael Prokop <mika@grml.org>
Subject: [issue] Option to see changeset summaries in push/pull/fetch [priority=wish]
Date: Fri, 02 Nov 2007 21:08:19 +0100
  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:
> On Thu, Jun 21, 2007 at 06:13:54PM +0200, Thomas Arendsen Hein <thomas@intevation.de> was heard to say:
>> * Daniel Burrows <dburrows@debian.org> [20070620 15:43]:
>>>   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).
>> 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) 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
> 

Michael Prokop wrote:
> * Daniel Burrows <dburrows@debian.org> [20070620 16:17]:
>
>>   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).
>
> ACK
>
> 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-





Noted your statement that Bug has been forwarded to http://www.selenic.com/mercurial/bts/issue818. Request was from Vincent Danjean <vdanjean@debian.org> to control@bugs.debian.org. (Fri, 02 Nov 2007 20:12:04 GMT) Full text and rfc822 format available.

Tags added: upstream Request was from Vincent Danjean <vdanjean@debian.org> to control@bugs.debian.org. (Fri, 02 Nov 2007 20:12:04 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 05:20:52 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.