From cc21d5ce583dd7f09df4b2c8a51aa1299d4c7cc0 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Thu, 23 Oct 2014 16:00:05 +0400 Subject: [PATCH] [vcs] IDEA-131714 copy full revision number at least until the option is available for user and/or we guarantee that the short hash we give is enough. --- .../intellij/openapi/vcs/history/CopyRevisionNumberAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/CopyRevisionNumberAction.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/CopyRevisionNumberAction.java index 4bdbdfbd287c..6f5b7c5478dd 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/CopyRevisionNumberAction.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/CopyRevisionNumberAction.java @@ -67,7 +67,7 @@ public class CopyRevisionNumberAction extends DumbAwareAction { return StringUtil.join(revisions, new Function() { @Override public String fun(VcsRevisionNumber revision) { - return revision instanceof ShortVcsRevisionNumber ? ((ShortVcsRevisionNumber)revision).toShortString() : revision.asString(); + return revision.asString(); } }, " "); }