Skip to content
Permalink
Browse files
[FIXED JENKINS-11976] Add forest-related fields back for de-serializa…
…tion compatibility
  • Loading branch information
davidmc24 committed Dec 3, 2011
1 parent 00a0fdb commit c9efe32683f19e0180e5806762b63998fabbc0bf
Showing with 10 additions and 0 deletions.
  1. +5 −0 src/main/java/hudson/plugins/mercurial/MercurialInstallation.java
  2. +5 −0 src/main/java/hudson/plugins/mercurial/MercurialSCM.java
@@ -51,6 +51,11 @@
public class MercurialInstallation extends ToolInstallation implements
NodeSpecific<MercurialInstallation>,
EnvironmentSpecific<MercurialInstallation> {
// old fields are left so that old config data can be read in, but
// they are deprecated. transient so that they won't show up in XML
// when writing back
@Deprecated
private transient String downloadForest;

private String executable;
private boolean debug;
@@ -58,6 +58,11 @@
* Mercurial SCM.
*/
public class MercurialSCM extends SCM implements Serializable {
// old fields are left so that old config data can be read in, but
// they are deprecated. transient so that they won't show up in XML
// when writing back
@Deprecated
private transient boolean forest;

/**
* Name of selected installation, if any.

0 comments on commit c9efe32

Please sign in to comment.