tests/test-notify.t
branchstable
changeset 43306 59338f956109
parent 42904 d26a6706b070
child 43323 84c15836a2d7
equal deleted inserted replaced
43029:c5dc122fdc2b 43306:59338f956109
    97     reference repositories with their absolute path. "notify.strip" lets you
    97     reference repositories with their absolute path. "notify.strip" lets you
    98     turn them into relative paths. For example, "notify.strip=3" will change
    98     turn them into relative paths. For example, "notify.strip=3" will change
    99     "/long/path/repository" into "repository". Default: 0.
    99     "/long/path/repository" into "repository". Default: 0.
   100   
   100   
   101   notify.domain
   101   notify.domain
   102     Default email domain for sender or recipients with no explicit domain.
   102     Default email domain for sender or recipients with no explicit domain. It is
       
   103     also used for the domain part of the "Message-Id" when using
       
   104     "notify.messageidseed".
       
   105   
       
   106   notify.messageidseed
       
   107     Create deterministic "Message-Id" headers for the mails based on the seed
       
   108     and the revision identifier of the first commit in the changeset.
   103   
   109   
   104   notify.style
   110   notify.style
   105     Style file to use when formatting emails.
   111     Style file to use when formatting emails.
   106   
   112   
   107   notify.template
   113   notify.template
   188 
   194 
   189 the python call below wraps continuation lines, which appear on Mac OS X 10.5 because
   195 the python call below wraps continuation lines, which appear on Mac OS X 10.5 because
   190 of the very long subject line
   196 of the very long subject line
   191 pull (minimal config)
   197 pull (minimal config)
   192 
   198 
   193   $ hg --traceback --cwd b pull ../a | "$PYTHON" $TESTTMP/filter.py
   199   $ hg --traceback --cwd b --config notify.domain=example.com --config notify.messageidseed=example pull ../a | "$PYTHON" $TESTTMP/filter.py
   194   pulling from ../a
   200   pulling from ../a
   195   searching for changes
   201   searching for changes
   196   adding changesets
   202   adding changesets
   197   adding manifests
   203   adding manifests
   198   adding file changes
   204   adding file changes
   201   MIME-Version: 1.0
   207   MIME-Version: 1.0
   202   Content-Type: text/plain; charset="us-ascii"
   208   Content-Type: text/plain; charset="us-ascii"
   203   Content-Transfer-Encoding: 7bit
   209   Content-Transfer-Encoding: 7bit
   204   Date: * (glob)
   210   Date: * (glob)
   205   Subject: changeset in $TESTTMP/b: b
   211   Subject: changeset in $TESTTMP/b: b
   206   From: test
   212   From: test@example.com
   207   X-Hg-Notification: changeset 00a13f371396
   213   X-Hg-Notification: changeset 00a13f371396
   208   Message-Id: <*> (glob)
   214   Message-Id: <hg.ba3098a36bd4c297288d16788623a841f81f618ea961a0f0fd65de7eb1191b66@example.com>
   209   To: baz, foo@bar
   215   To: baz@example.com, foo@bar
   210   
   216   
   211   changeset 00a13f371396 in $TESTTMP/b
   217   changeset 00a13f371396 in $TESTTMP/b
   212   details: $TESTTMP/b?cmd=changeset;node=00a13f371396
   218   details: $TESTTMP/b?cmd=changeset;node=00a13f371396
   213   description: b
   219   description: b
   214   
   220