[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.
This commit is contained in:
Kirill Likhodedov
2014-10-23 16:00:05 +04:00
parent d0820374d2
commit cc21d5ce58
@@ -67,7 +67,7 @@ public class CopyRevisionNumberAction extends DumbAwareAction {
return StringUtil.join(revisions, new Function<VcsRevisionNumber, String>() {
@Override
public String fun(VcsRevisionNumber revision) {
return revision instanceof ShortVcsRevisionNumber ? ((ShortVcsRevisionNumber)revision).toShortString() : revision.asString();
return revision.asString();
}
}, " ");
}