diff src/org/tmatesoft/hg/core/HgInvalidRevisionException.java @ 385:6150555eb41d

HgInvalidRevisionException for svn imported repositories (changeset 0 references nullid manifest)
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 13 Feb 2012 14:19:36 +0100
parents 8107b95f4280
children 0ae53c32ecef
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgInvalidRevisionException.java	Mon Feb 13 13:20:06 2012 +0100
+++ b/src/org/tmatesoft/hg/core/HgInvalidRevisionException.java	Mon Feb 13 14:19:36 2012 +0100
@@ -90,8 +90,8 @@
 			return msg;
 		}
 		StringBuilder sb = new StringBuilder();
-		sb.append('[');
 		if (rev != null) {
+			sb.append("Revision:");
 			sb.append(rev.shortNotation());
 			sb.append(' ');
 		}
@@ -109,7 +109,6 @@
 				sb.append(sr);
 			}
 		}
-		sb.append(']');
 		return sb.toString();
 	}
 }