Richard Lowe wrote:
> Vladimir Kotal <Vladimir.Kotal at Sun.COM> writes:

<snip>

>> or something more complicated ?
>>
>> Don't know why but any addition to the customized file does not have
>> any effect on 'hg outgoing -v' output. In fact, there is no attempt to
>> open the style file in 'truss -f hg outgoing -v'.
> 
> You added a 'style' line to the [ui] section of your ~/.hgrc, too?

Yes.

After playing with ~/.hgrc more I discovered the cause - there was a 
'logtemplate' definition which prevented the 'style' from having an effect.

After commenting 'logtemplate' out, 'hg outgoing -v' produces list of 
files divided by newlines but the list is flat (no 
added/modified/deleted sections):

comparing with /local/ws-mirrors/onnv-clone.hg
searching for changes
changeset:   7248:225922d15fe6
tag:         tip
user:        Vladimir Kotal <Vladimir.Kotal at Sun.COM>
date:        Wed Aug 06 23:39:30 2008 +0200
files:       usr/src/cmd/ldap/ns_ldap/ldapaddent.c
  usr/src/cmd/sendmail/db/config.h
  usr/src/cmd/ssh/include/config.h
  usr/src/cmd/ssh/include/openbsd-compat.h
  usr/src/cmd/ssh/include/strsep.h
  usr/src/cmd/ssh/libopenbsd-compat/Makefile.com
  usr/src/cmd/ssh/libopenbsd-compat/common/llib-lopenbsd-compat
  usr/src/cmd/ssh/libopenbsd-compat/common/strsep.c
  usr/src/cmd/ssh/libssh/common/llib-lssh
  usr/src/common/util/string.c
  usr/src/head/string.h
  usr/src/lib/libc/amd64/Makefile
  usr/src/lib/libc/i386/Makefile.com
  usr/src/lib/libc/port/gen/strsep.c
  usr/src/lib/libc/port/llib-lc
  usr/src/lib/libc/port/mapfile-vers
  usr/src/lib/libc/sparc/Makefile
  usr/src/lib/libc/sparcv9/Makefile
  usr/src/lib/passwdutil/Makefile.com
  usr/src/lib/passwdutil/bsd-strsep.c
  usr/src/lib/passwdutil/passwdutil.h
  usr/src/lib/smbsrv/libsmb/common/mapfile-vers
  usr/src/lib/smbsrv/libsmb/common/smb_util.c

description:
PSARC 2008/305 strsep() in libc
4383867 need strsep() in libc


Also, 'style' in ~/.hgrc does not seem to expand tilda:

comparing with /local/ws-mirrors/onnv-clone.hg
searching for changes
abort: style not found: ~/bin/Mercurial/map-cmdline

which is somewhat surprising given assignments in '[extensions]' section 
do not have this problem.


v.

Reply via email to