Skip to content
Permalink
Browse files

[JENKINS-2252] Enhance support for email-ext plugin by adding support…

… for the %r pattern in ${CHANGES}
  • Loading branch information...
davidmc24 committed Dec 4, 2011
1 parent e75bd4d commit 3dd018a8670bd467a9a13edd4feebeaa91351d09
Showing with 11 additions and 0 deletions.
  1. +11 −0 src/main/java/hudson/plugins/mercurial/MercurialChangeSet.java
@@ -82,6 +82,17 @@ public long getRev() {
return rev;
}

/**
* Gets the globally unique changeset ID. For general purpose use, use {@link #getNode()}. This method is intended
* for use via reflection by the email-ext plugin.
*/
public String getRevision() {
return node;
}

/**
* Returns the date of the changeset. Also used via reflection by the email-ext plugin.
*/
@Exported
public String getDate() {
return date;

0 comments on commit 3dd018a

Please sign in to comment.
You can’t perform that action at this time.