Priority
Major
Type
Bug 
State
Fixed 
Assignee
Dmitry Jemerov 
Subsystem
Version Control. ClearCase 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7087
Fixed in build
6202
Severity
0
  • Submitted by   Max Ishchenko
    2 years ago (02 Aug 2007 11:55)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:50)
  • Jira: IDEA-40078
    (history, comments)

IDEA-40078

ClearCase: incorrect encoding for diff

1
Added by <no user>
15 Sep 2009
diffbug.gif   (33 KB)

If your file contains some UTF-8 comments or other non-ascii symbols, Idea will mark them as changed in a diff window. Clearcase's native diff (Compare to previous/another version) is ok.
Maybe it's also true for non Clearcase VCS, but I cannot check that.

Environment: Windows XP, EAP IDEA Build 7087, Clearcase version 2001A.04.00 (4.2) (as written in "about" dialog")

Issue was resolved
Comments (18)
 
History (1)
 
Links
 
Sascha Weinreuter
  Sascha Weinreuter
03 Aug 2007 16:34
(2 years ago)
#permalink
Sascha Weinreuter
  Sascha Weinreuter
17 Oct 2007 16:37
(2 years ago)
#permalink
This is not a ClearCase-only problem, I've seen it with CVS as well.
Dmitry Jemerov
  Dmitry Jemerov
17 Oct 2007 16:43
(2 years ago)
#permalink
Sascha: Then please file a separate request for CVS. In particular, please specify whether you used the Diff action from Changes view or the "Compare with..." action from the context menu - they currently use significantly different code paths for encoding determination.
Sascha Weinreuter
  Sascha Weinreuter
17 Oct 2007 17:01
(2 years ago)
#permalink
Well, I don't know any more. Maybe it has been fixed already. Although it sounds really strange to me that determining the encoding of XML files is VCS dependant.
Jonas Kvarnstrom
  Jonas Kvarnstrom
17 Oct 2007 18:30
(2 years ago)
#permalink


And to everyone else?
yole-usability
  yole-usability
17 Oct 2007 18:32
(2 years ago)
#permalink
Hello Jonas,


We know about this problem with the JIRA newsgroup synchronizer, but frankly
the comments contains nothing so sensitive for this to be a problem. :)

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Max Ishchenko
  Max Ishchenko
30 Oct 2007 14:59
(2 years ago)
#permalink
The bug is still there
I tried 7.0.1, if you call it "Selena Bugfix Update"

Should I clear some caches?
Dmitry Jemerov
  Dmitry Jemerov
30 Oct 2007 15:01
(2 years ago)
#permalink
This issue will be fixed in 7.0.2. Version 7.0.1 doesn't contain any ClearCase fixes.
Max Ishchenko
  Max Ishchenko
30 Oct 2007 15:09
(2 years ago)
#permalink
Oops, sorry. Haven't read release notes for 7.0.1

That's strange - so many "Selena Bugfix Update" bugs are marked fixed , but 7.0.1 includes only 18 of them
Dmitry Jemerov
  Dmitry Jemerov
30 Oct 2007 15:14
(2 years ago)
#permalink
As specified in the release announcement, 7.0.1 was done very soon after release and includes only safe fixes for critical problems. For 7.0.2, we'll have much better possibility to test the fixes, so the scope for inclusion is much broader.
Michael Gerasimov
  Michael Gerasimov
30 Oct 2007 15:14
(2 years ago)
#permalink
That's because 7.01 contained only URGENTLY necessarty fixes, critical for overall system.
Max Ishchenko
  Max Ishchenko
31 Oct 2007 12:16
(2 years ago)
#permalink
7.0.2 has this bug it its Release Notes, but it's still not fixed in 7.0.2 Early Access Preview (build 7523)
Should I suppose, these Release Notes will be valid for 7.0.2 release, not for 7.0.2 EAP?

Sorry for my importunity :)
Max Ishchenko
  Max Ishchenko
17 Dec 2007 20:09
(2 years ago)
#permalink
The bug is still there in 7.0.2
I see that in UTF-8 encoded files.
The default encoding is set to windows-1251, Autodetect UTF-encoded files switched on.
Dmitry Jemerov
  Dmitry Jemerov
17 Dec 2007 20:25
(2 years ago)
#permalink
A proper fix for this issue will be included in the first EAP build of 7.0.3.
Jonas Kvarnstrom
  Jonas Kvarnstrom
22 Oct 2008 08:41
(15 months ago)
#permalink


And to everyone else?
yole-usability
  yole-usability
22 Oct 2008 08:41
(15 months ago)
#permalink
Hello Jonas,


We know about this problem with the JIRA newsgroup synchronizer, but frankly
the comments contains nothing so sensitive for this to be a problem. :)

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Jonas Kvarnstrom
  Jonas Kvarnstrom
23 Dec 2008 11:09
(13 months ago)
#permalink


And to everyone else?
yole-usability
  yole-usability
23 Dec 2008 11:09
(13 months ago)
#permalink
Hello Jonas,


We know about this problem with the JIRA newsgroup synchronizer, but frankly
the comments contains nothing so sensitive for this to be a problem. :)

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"