Hello,

It was suggested that I send a request to this alias for some help
on this Mercurial notification issue.

Suddenly I am getting the below error when trying to execute a hook
for sending Mercurial email notifcation.  I have not made any changes
to our hg setup.  One thing I did notice is that we might be using a
newly installed version of Mercurial (1.2).  Not sure if this could be
the problem:

svl2:pamcs =>hg push -v
pushing to /repos/main
searching for changes
1 changesets found
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
calling hook changegroup.notify: hgext.notify.hook
error: changegroup.notify hook raised an exception: [Errno 22] Invalid argument

hgrc file
---------

[extensions]
hgext.notify =

[hooks]
changegroup.notify = python:hgext.notify.hook
commit.notify = hg log -v -p -r $HG_NODE | /usr/bin/mailx -s "hg commit 
notification: `/pkg/local/bin/hg root` by `/usr/ucb/whoami`" deval...@sun.com

[email]
method = /usr/lib/sendmail

[web]
baseurl =

[notify]
sources = push serve pull
test = False
template =Subject: hg push notification to {webroot|basename} by {author}\n\nAuthor: {author}\nChangeset: {rev}:{node|short}\nDate: {date|date}\nComments: {desc}\n\nFiles:\n{files}\n

maxdiff = 0

[reposubs]
** = deval...@sun.com


Thanks for any feedback on this problem!

Pam

--
Pamela J. Chulada-Smith
Sun Microsystems - Distributed Resource Allocation Management (DReAM) 
Engineering Team
1 Network Drive, Burlington, MA  01803-0901
(781) 442-2651
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to