hg diff/status <dir> problem

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Feb 22 23:44:07 UTC 2007


On 2007-02-22 15:36, Johnny Stenback <jst at mozilla.com> wrote:
> Thanks! I'll see if I can go through all that (in a vm so I can undo
> installing all of that once I'm done :), but before I do that, anyone
> know if there's any logging/debugging one can turn on in a Mercurial
> installation on windows to maybe see more of what's going on here?

Yep.  There is a global --debug option, which you can prepend to *any*
Mercurial command.  For example, compare the output of the three
different "hg log" invocations below:

1. Without --verbose or --debug

# keramida at kobe:/home/keramida/hg/freebsd/head$ hg log -r tip
# changeset:   129167:41de292f1649
# tag:         tip
# user:        kensmith
# date:        Thu Feb 22 20:29:53 2007 +0000
# summary:     If floppies are used to boot the machine, the user lets the machine
#

2. With --verbose only.

# keramida at kobe:/home/keramida/hg/freebsd/head$ hg log --verbose -r tip
# changeset:   129167:41de292f1649
# tag:         tip
# user:        kensmith
# date:        Thu Feb 22 20:29:53 2007 +0000
# files:       usr.sbin/sysinstall/cdrom.c
# description:
# If floppies are used to boot the machine, the user lets the machine
# complete the boot and enter into sysinstall, and only then inserts
# a CD into the CDROM drive and tries to select that as the install
# media the first call to mount(2) generates EIO but the second call
# to mount(2) will succeed.  This was 100% reproducible on 6.2-RELEASE,
# RELENG_6, and HEAD.  If the user inserts the disc into the CDROM
# while the machine is booting off the floppies the first call to mount(2)
# succeeds with no problems.  The problem was originally reported in
# PR #56952 against 5.1-CURRENT so it's been there for a while now.
#
# PR:             bin/56952
# MFC after:      2 weeks
#
#

3. With --debug only.

# keramida at kobe:/home/keramida/hg/freebsd/head$ hg --debug log -r tip
# changeset:   129167:41de292f1649393069f169969675c7b53ae5f5e0
# tag:         tip
# parent:      129166:fbd012b2b52546c0808003edd0a6be55fab3893e
# parent:      -1:0000000000000000000000000000000000000000
# manifest:    129167:dc0fe7722849a413327cc4d1629daece0721525c
# user:        kensmith
# date:        Thu Feb 22 20:29:53 2007 +0000
# files:       usr.sbin/sysinstall/cdrom.c
# description:
# If floppies are used to boot the machine, the user lets the machine
# complete the boot and enter into sysinstall, and only then inserts
# a CD into the CDROM drive and tries to select that as the install
# media the first call to mount(2) generates EIO but the second call
# to mount(2) will succeed.  This was 100% reproducible on 6.2-RELEASE,
# RELENG_6, and HEAD.  If the user inserts the disc into the CDROM
# while the machine is booting off the floppies the first call to mount(2)
# succeeds with no problems.  The problem was originally reported in
# PR #56952 against 5.1-CURRENT so it's been there for a while now.
#
# PR:             bin/56952
# MFC after:      2 weeks
#
#



More information about the Mercurial-devel mailing list