diff options
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r-- | org.eclipse.jgit.pgm/META-INF/MANIFEST.MF | 40 | ||||
-rw-r--r-- | org.eclipse.jgit.pgm/pom.xml | 2 | ||||
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java | 10 | ||||
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Clone.java | 4 |
4 files changed, 31 insertions, 25 deletions
diff --git a/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF b/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF index 771e113d3b..4fd557df14 100644 --- a/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF @@ -2,32 +2,32 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %plugin_name Bundle-SymbolicName: org.eclipse.jgit.pgm -Bundle-Version: 0.9.0.qualifier +Bundle-Version: 0.9.4.qualifier Bundle-Vendor: %provider_name Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Import-Package: org.eclipse.jgit.api;version="[0.9.0,0.10.0)", - org.eclipse.jgit.api.errors;version="[0.9.0,0.10.0)", - org.eclipse.jgit.awtui;version="[0.9.0,0.10.0)", - org.eclipse.jgit.diff;version="[0.9.0,0.10.0)", - org.eclipse.jgit.dircache;version="[0.9.0,0.10.0)", - org.eclipse.jgit.errors;version="[0.9.0,0.10.0)", - org.eclipse.jgit.iplog;version="[0.9.0,0.10.0)", - org.eclipse.jgit.lib;version="[0.9.0,0.10.0)", - org.eclipse.jgit.nls;version="[0.9.0,0.10.0)", - org.eclipse.jgit.revplot;version="[0.9.0,0.10.0)", - org.eclipse.jgit.revwalk;version="[0.9.0,0.10.0)", - org.eclipse.jgit.revwalk.filter;version="[0.9.0,0.10.0)", - org.eclipse.jgit.storage.file;version="[0.9.0,0.10.0)", - org.eclipse.jgit.storage.pack;version="[0.9.0,0.10.0)", - org.eclipse.jgit.transport;version="[0.9.0,0.10.0)", - org.eclipse.jgit.treewalk;version="[0.9.0,0.10.0)", - org.eclipse.jgit.treewalk.filter;version="[0.9.0,0.10.0)", - org.eclipse.jgit.util;version="[0.9.0,0.10.0)", +Import-Package: org.eclipse.jgit.api;version="[0.9.4,0.10.0)", + org.eclipse.jgit.api.errors;version="[0.9.4,0.10.0)", + org.eclipse.jgit.awtui;version="[0.9.4,0.10.0)", + org.eclipse.jgit.diff;version="[0.9.4,0.10.0)", + org.eclipse.jgit.dircache;version="[0.9.4,0.10.0)", + org.eclipse.jgit.errors;version="[0.9.4,0.10.0)", + org.eclipse.jgit.iplog;version="[0.9.4,0.10.0)", + org.eclipse.jgit.lib;version="[0.9.4,0.10.0)", + org.eclipse.jgit.nls;version="[0.9.4,0.10.0)", + org.eclipse.jgit.revplot;version="[0.9.4,0.10.0)", + org.eclipse.jgit.revwalk;version="[0.9.4,0.10.0)", + org.eclipse.jgit.revwalk.filter;version="[0.9.4,0.10.0)", + org.eclipse.jgit.storage.file;version="[0.9.4,0.10.0)", + org.eclipse.jgit.storage.pack;version="[0.9.4,0.10.0)", + org.eclipse.jgit.transport;version="[0.9.4,0.10.0)", + org.eclipse.jgit.treewalk;version="[0.9.4,0.10.0)", + org.eclipse.jgit.treewalk.filter;version="[0.9.4,0.10.0)", + org.eclipse.jgit.util;version="[0.9.4,0.10.0)", org.kohsuke.args4j;version="[2.0.12,2.1.0)", org.kohsuke.args4j.spi;version="[2.0.12,2.1.0)" Bundle-ActivationPolicy: lazy -Export-Package: org.eclipse.jgit.pgm;version="0.9.0"; +Export-Package: org.eclipse.jgit.pgm;version="0.9.4"; uses:="org.eclipse.jgit.lib, org.eclipse.jgit.nls, org.eclipse.jgit.treewalk, diff --git a/org.eclipse.jgit.pgm/pom.xml b/org.eclipse.jgit.pgm/pom.xml index d803e00115..67a85aa7d4 100644 --- a/org.eclipse.jgit.pgm/pom.xml +++ b/org.eclipse.jgit.pgm/pom.xml @@ -50,7 +50,7 @@ <parent> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit-parent</artifactId> - <version>0.9.0-SNAPSHOT</version> + <version>0.9.4-SNAPSHOT</version> </parent> <artifactId>org.eclipse.jgit.pgm</artifactId> diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java index 356966ab59..fd7fd4459b 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/AbstractFetchCommand.java @@ -49,6 +49,7 @@ package org.eclipse.jgit.pgm; import java.io.IOException; import java.io.PrintWriter; +import java.text.MessageFormat; import org.eclipse.jgit.lib.Constants; import org.eclipse.jgit.lib.ObjectId; @@ -104,16 +105,19 @@ abstract class AbstractFetchCommand extends TextBuiltin { else if (0 <= cr) s = cr; else { - writer.format(CLIText.get().remoteMessage, pkt); + writer.print(MessageFormat.format(CLIText.get().remoteMessage, + pkt)); writer.println(); break; } if (pkt.charAt(s) == '\r') { - writer.format(CLIText.get().remoteMessage, pkt.substring(0, s)); + writer.print(MessageFormat.format(CLIText.get().remoteMessage, + pkt.substring(0, s))); writer.print('\r'); } else { - writer.format(CLIText.get().remoteMessage, pkt.substring(0, s)); + writer.print(MessageFormat.format(CLIText.get().remoteMessage, + pkt.substring(0, s))); writer.println(); } diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Clone.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Clone.java index 1b1a8c28e8..1b04989670 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Clone.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Clone.java @@ -114,7 +114,9 @@ class Clone extends AbstractFetchCommand { dst.getConfig().save(); db = dst; - out.format(CLIText.get().initializedEmptyGitRepositoryIn, gitdir.getAbsolutePath()); + out.print(MessageFormat.format( + CLIText.get().initializedEmptyGitRepositoryIn, gitdir + .getAbsolutePath())); out.println(); out.flush(); |