This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 72949 - CVS 'Diff...' does not work with javascript files (i.e. someJSFile.js)
Summary: CVS 'Diff...' does not work with javascript files (i.e. someJSFile.js)
Status: RESOLVED WORKSFORME
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 18:38 UTC by markjl
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description markjl 2006-02-22 18:38:36 UTC
If I try to do a CVS 'Diff...' on someJavaScriptFile.js all I get is '[Binary 
File Locally Modified]' in the 'Locally Modified' window.
Comment 1 Peter Pis 2006-02-23 09:31:51 UTC
The problem is that you have added this file "As Binary". For binary files there
is no textual diff. File should be added "As Text" if you want to use diff
action later.
Comment 2 Peter Pis 2006-02-23 09:40:50 UTC
This is standard behavior of cvs clients. Make sure "Commit Action" is set as
desired in "Commit" dialog. For new file you can choose in "Commit action" column:
1. Add As Text
2. Add As Binary
3. Exlude from commit - neither addition nor committing will be performed in
this case.

Petr, could you please evaluate?
Comment 3 markjl 2006-02-23 15:04:44 UTC
I didn't think I added the file as binary...but anything is possible. I'll 
remove it, add it as a text file and try again and see what happens. Thanks.
Comment 4 _ pkuzel 2006-03-01 11:43:11 UTC
I guess it solved the problem.