Skip to content

Commit

Permalink
[FIXED JENKINS-11976] Add forest-related fields back for de-serializa…
Browse files Browse the repository at this point in the history
…tion compatibility
  • Loading branch information
davidmc24 committed Dec 3, 2011
1 parent 00a0fdb commit c9efe32
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/hudson/plugins/mercurial/MercurialSCM.java
Expand Up @@ -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.
Expand Down

0 comments on commit c9efe32

Please sign in to comment.