diff --git a/common/src/java/org/apache/hive/common/HiveVersionAnnotation.java b/common/src/java/org/apache/hive/common/HiveVersionAnnotation.java index 140bdbc..1ef725b 100644 --- a/common/src/java/org/apache/hive/common/HiveVersionAnnotation.java +++ b/common/src/java/org/apache/hive/common/HiveVersionAnnotation.java @@ -58,12 +58,12 @@ String date(); /** - * Get the url for the subversion repository. + * Get the url for the git repository. */ String url(); /** - * Get the subversion revision. + * Get the git revision. * @return the revision number as a string (eg. "451451") */ String revision(); diff --git a/common/src/java/org/apache/hive/common/util/HiveVersionInfo.java b/common/src/java/org/apache/hive/common/util/HiveVersionInfo.java index 3627150..885d8f5 100644 --- a/common/src/java/org/apache/hive/common/util/HiveVersionInfo.java +++ b/common/src/java/org/apache/hive/common/util/HiveVersionInfo.java @@ -66,7 +66,7 @@ public static String getShortVersion() { } /** - * Get the subversion revision number for the root directory + * Get the git revision number for the root directory * @return the revision number, eg. "451451" */ public static String getRevision() { @@ -98,7 +98,7 @@ public static String getUser() { } /** - * Get the subversion URL for the root Hive directory. + * Get the git URL for the root Hive directory. */ public static String getUrl() { return version != null ? version.url() : "Unknown"; @@ -126,7 +126,7 @@ public static String getBuildVersion(){ public static void main(String[] args) { LOG.debug("version: "+ version); System.out.println("Hive " + getVersion()); - System.out.println("Subversion " + getUrl() + " -r " + getRevision()); + System.out.println("Git " + getUrl() + " -r " + getRevision()); System.out.println("Compiled by " + getUser() + " on " + getDate()); System.out.println("From source with checksum " + getSrcChecksum()); }