diff cmdline/org/tmatesoft/hg/console/ChangesetDumpHandler.java @ 211:644ee58c9f16

Compound HgDate object to provide flexible access to change date/time information
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 29 Apr 2011 02:37:52 +0200
parents ef8eba4aa215
children 1792b37650f2
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/ChangesetDumpHandler.java	Thu Apr 28 03:55:23 2011 +0200
+++ b/cmdline/org/tmatesoft/hg/console/ChangesetDumpHandler.java	Fri Apr 29 02:37:52 2011 +0200
@@ -109,7 +109,7 @@
 			int mx = repo.getManifest().getLocalRevision(cset.getManifestRevision());
 			f.format("parent:      %d:%s\nparent:      %d:%s\nmanifest:    %d:%s\n", p1x, p1, p2x, p2, mx, cset.getManifestRevision());
 		}
-		f.format("user:        %s\ndate:        %s\n", cset.getUser(), cset.getDate());
+		f.format("user:        %s\ndate:        %s\n", cset.getUser(), cset.getDate().toString());
 		if (!complete && verbose) {
 			final List<Path> files = cset.getAffectedFiles();
 			sb.append("files:      ");